about summary refs log tree commit diff
path: root/src/libstd/process.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-20 23:40:12 +0000
committerbors <bors@rust-lang.org>2019-10-20 23:40:12 +0000
commit770b9e3012bd58bdf6046d328dabfd57df163eb6 (patch)
treea1bbbdb76f8c67f283be59432a3aa0f845515551 /src/libstd/process.rs
parent7979016aff545f7b41cc517031026020b340989d (diff)
parent836e45d26bbee9b6a73a32b154c82338102a96a6 (diff)
downloadrust-770b9e3012bd58bdf6046d328dabfd57df163eb6.tar.gz
rust-770b9e3012bd58bdf6046d328dabfd57df163eb6.zip
Auto merge of #65644 - Centril:rollup-gez1xhe, r=Centril
Rollup of 8 pull requests

Successful merges:

 - #65314 (rustdoc: forward -Z options to rustc)
 - #65592 (clarify const_prop ICE protection comment)
 - #65603 (Avoid ICE when include! is used by stdin crate)
 - #65614 (Improve error message for APIT with explicit generic arguments)
 - #65629 (Remove `borrowck_graphviz_postflow` from test)
 - #65633 (Remove leading :: from paths in doc examples)
 - #65638 (Rename the default argument 'def' to 'default')
 - #65639 (Fix parameter name in documentation)

Failed merges:

r? @ghost
Diffstat (limited to 'src/libstd/process.rs')
-rw-r--r--src/libstd/process.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index da136ca6bf6..4b0cf8312f1 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -1488,12 +1488,12 @@ impl Child {
 /// }
 ///
 /// fn main() {
-///     ::std::process::exit(match run_app() {
-///        Ok(_) => 0,
-///        Err(err) => {
-///            eprintln!("error: {:?}", err);
-///            1
-///        }
+///     std::process::exit(match run_app() {
+///         Ok(_) => 0,
+///         Err(err) => {
+///             eprintln!("error: {:?}", err);
+///             1
+///         }
 ///     });
 /// }
 /// ```