summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-05-01 20:38:59 -0400
committerGitHub <noreply@github.com>2017-05-01 20:38:59 -0400
commit7423966714aba0bedafee2d7c957363a25f2d849 (patch)
tree638786b6881cedeaa5deeff45a70930bae1cb41e
parent777ee20796e80a31d4b7c985dd68eda2941460d6 (diff)
downloadrust-hex-value-process-exit.tar.gz
Fix incorrect hex value in doc comment example.hex-value-process-exit
-rw-r--r--src/libstd/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 4ec9076de61..23ebeb4b8e3 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -1035,7 +1035,7 @@ impl Child {
/// ```no_run
/// use std::process;
///
-/// process::exit(0x0f00);
+/// process::exit(0x0100);
/// ```
///
/// [platform-specific behavior]: #platform-specific-behavior