Rollup merge of #41688 - rust-lang:hex-value-process-exit, r=sfackler

Fix incorrect hex value in doc comment example.

Fixes https://github.com/rust-lang/rust/issues/41682.
This commit is contained in:
Corey Farwell 2017-05-02 09:09:57 -04:00 committed by GitHub
commit 7dbb93a391

View File

@ -1035,7 +1035,7 @@ impl Child {
/// ```no_run
/// use std::process;
///
/// process::exit(0x0f00);
/// process::exit(0x0100);
/// ```
///
/// [platform-specific behavior]: #platform-specific-behavior