Skip to content

Commit

Permalink
fix exclusive range error
Browse files Browse the repository at this point in the history
  • Loading branch information
yaahc committed Feb 7, 2022
1 parent cf4ac6b commit 4c5a36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/unsupported/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl From<u8> for ExitCode {
fn from(code: u8) -> Self {
match code {
0 => Self::SUCCESS,
1..255 => Self::FAILURE,
1..=255 => Self::FAILURE,
}
}
}
Expand Down

0 comments on commit 4c5a36e

Please sign in to comment.