Skip to content

Commit 4c5a36e

Browse files
committed
fix exclusive range error
1 parent cf4ac6b commit 4c5a36e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/unsupported/process.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl From<u8> for ExitCode {
166166
fn from(code: u8) -> Self {
167167
match code {
168168
0 => Self::SUCCESS,
169-
1..255 => Self::FAILURE,
169+
1..=255 => Self::FAILURE,
170170
}
171171
}
172172
}

0 commit comments

Comments
 (0)