mirror of https://github.com/rust-lang/rust.git
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:
commit
7dbb93a391
|
@ -1035,7 +1035,7 @@ impl Child {
|
|||
/// ```no_run
|
||||
/// use std::process;
|
||||
///
|
||||
/// process::exit(0x0f00);
|
||||
/// process::exit(0x0100);
|
||||
/// ```
|
||||
///
|
||||
/// [platform-specific behavior]: #platform-specific-behavior
|
||||
|
|
Loading…
Reference in New Issue