Skip to content

Commit 7dbb93a

Browse files
authored
Rollup merge of rust-lang#41688 - rust-lang:hex-value-process-exit, r=sfackler
Fix incorrect hex value in doc comment example. Fixes rust-lang#41682.
2 parents b8fc516 + 7423966 commit 7dbb93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ impl Child {
10351035
/// ```no_run
10361036
/// use std::process;
10371037
///
1038-
/// process::exit(0x0f00);
1038+
/// process::exit(0x0100);
10391039
/// ```
10401040
///
10411041
/// [platform-specific behavior]: #platform-specific-behavior

0 commit comments

Comments
 (0)