Skip to content

Commit 7423966

Browse files
authored
Fix incorrect hex value in doc comment example.
1 parent 777ee20 commit 7423966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/process.rs

+1-1
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)