Rollup merge of #129916 - tshepang:basic-usage, r=ChrisDenton · patricklam/verify-rust-std@c313c07 (original) (raw)
`@@ -617,8 +617,6 @@ impl Command {
`
617
617
`///
`
618
618
`/// # Examples
`
619
619
`///
`
620
``
`-
/// Basic usage:
`
621
``
`-
///
`
622
620
```` /// ```no_run
`623`
`621`
`/// use std::process::Command;
`
`624`
`622`
`///
`
`@@ -699,8 +697,6 @@ impl Command {
`
`699`
`697`
`///
`
`700`
`698`
`/// # Examples
`
`701`
`699`
`///
`
`702`
``
`-
/// Basic usage:
`
`703`
``
`-
///
`
`704`
`700`
```` /// ```no_run
705
701
`/// use std::process::Command;
`
706
702
`///
`
`@@ -748,8 +744,6 @@ impl Command {
`
748
744
`///
`
749
745
`/// # Examples
`
750
746
`///
`
751
``
`-
/// Basic usage:
`
752
``
`-
///
`
753
747
```` /// ```no_run
`754`
`748`
`/// use std::process::Command;
`
`755`
`749`
`///
`
`@@ -786,8 +780,6 @@ impl Command {
`
`786`
`780`
`///
`
`787`
`781`
`/// # Examples
`
`788`
`782`
`///
`
`789`
``
`-
/// Basic usage:
`
`790`
``
`-
///
`
`791`
`783`
```` /// ```no_run
792
784
`/// use std::process::Command;
`
793
785
`///
`
`@@ -822,8 +814,6 @@ impl Command {
`
822
814
`///
`
823
815
`/// # Examples
`
824
816
`///
`
825
``
`-
/// Basic usage:
`
826
``
`-
///
`
827
817
```` /// ```no_run
`828`
`818`
`/// use std::process::{Command, Stdio};
`
`829`
`819`
`/// use std::env;
`
`@@ -870,8 +860,6 @@ impl Command {
`
`870`
`860`
`///
`
`871`
`861`
`/// # Examples
`
`872`
`862`
`///
`
`873`
``
`-
/// Basic usage:
`
`874`
``
`-
///
`
`875`
`863`
```` /// ```no_run
876
864
`/// use std::process::Command;
`
877
865
`///
`
`@@ -900,8 +888,6 @@ impl Command {
`
900
888
`///
`
901
889
`/// # Examples
`
902
890
`///
`
903
``
`-
/// Basic usage:
`
904
``
`-
///
`
905
891
```` /// ```no_run
`906`
`892`
`/// use std::process::Command;
`
`907`
`893`
`///
`
`@@ -928,8 +914,6 @@ impl Command {
`
`928`
`914`
`///
`
`929`
`915`
`/// # Examples
`
`930`
`916`
`///
`
`931`
``
`-
/// Basic usage:
`
`932`
``
`-
///
`
`933`
`917`
```` /// ```no_run
934
918
`/// use std::process::Command;
`
935
919
`///
`
`@@ -959,8 +943,6 @@ impl Command {
`
959
943
`///
`
960
944
`/// # Examples
`
961
945
`///
`
962
``
`-
/// Basic usage:
`
963
``
`-
///
`
964
946
```` /// ```no_run
`965`
`947`
`/// use std::process::{Command, Stdio};
`
`966`
`948`
`///
`
`@@ -988,8 +970,6 @@ impl Command {
`
`988`
`970`
`///
`
`989`
`971`
`/// # Examples
`
`990`
`972`
`///
`
`991`
``
`-
/// Basic usage:
`
`992`
``
`-
///
`
`993`
`973`
```` /// ```no_run
994
974
`/// use std::process::{Command, Stdio};
`
995
975
`///
`
`@@ -1017,8 +997,6 @@ impl Command {
`
1017
997
`///
`
1018
998
`/// # Examples
`
1019
999
`///
`
1020
``
`-
/// Basic usage:
`
1021
``
`-
///
`
1022
1000
```` /// ```no_run
`1023`
`1001`
`/// use std::process::{Command, Stdio};
`
`1024`
`1002`
`///
`
`@@ -1039,8 +1017,6 @@ impl Command {
`
`1039`
`1017`
`///
`
`1040`
`1018`
`/// # Examples
`
`1041`
`1019`
`///
`
`1042`
``
`-
/// Basic usage:
`
`1043`
``
`-
///
`
`1044`
`1020`
```` /// ```no_run
1045
1021
`/// use std::process::Command;
`
1046
1022
`///
`
`@@ -2105,8 +2081,6 @@ impl Child {
`
2105
2081
`///
`
2106
2082
`/// # Examples
`
2107
2083
`///
`
2108
``
`-
/// Basic usage:
`
2109
``
`-
///
`
2110
2084
```` /// ```no_run
`2111`
`2085`
`/// use std::process::Command;
`
`2112`
`2086`
`///
`
`@@ -2129,8 +2103,6 @@ impl Child {
`
`2129`
`2103`
`///
`
`2130`
`2104`
`/// # Examples
`
`2131`
`2105`
`///
`
`2132`
``
`-
/// Basic usage:
`
`2133`
``
`-
///
`
`2134`
`2106`
```` /// ```no_run
2135
2107
`/// use std::process::Command;
`
2136
2108
`///
`
`@@ -2158,8 +2130,6 @@ impl Child {
`
2158
2130
`///
`
2159
2131
`/// # Examples
`
2160
2132
`///
`
2161
``
`-
/// Basic usage:
`
2162
``
`-
///
`
2163
2133
```` /// ```no_run
`2164`
`2134`
`/// use std::process::Command;
`
`2165`
`2135`
`///
`
`@@ -2194,8 +2164,6 @@ impl Child {
`
`2194`
`2164`
`///
`
`2195`
`2165`
`/// # Examples
`
`2196`
`2166`
`///
`
`2197`
``
`-
/// Basic usage:
`
`2198`
``
`-
///
`
`2199`
`2167`
```` /// ```no_run
2200
2168
`/// use std::process::Command;
`
2201
2169
`///
`
`@@ -2398,15 +2366,11 @@ pub fn abort() -> ! {
`
2398
2366
`///
`
2399
2367
`/// # Examples
`
2400
2368
`///
`
2401
``
`-
/// Basic usage:
`
2402
``
`-
///
`
2403
2369
```` /// ```no_run
`2404`
`2370`
`/// use std::process;
`
`2405`
`2371`
`///
`
`2406`
`2372`
`/// println!("My pid is {}", process::id());
`
`2407`
`2373`
```` /// ```
2408
``
`-
///
`
2409
``
`-
///
`
2410
2374
`#[must_use]
`
2411
2375
`#[stable(feature = "getpid", since = "1.26.0")]
`
2412
2376
`pub fn id() -> u32 {
`