diff --git a/library/std/src/sys/unsupported/process.rs b/library/std/src/sys/unsupported/process.rs index deb58ffa8c7de..42a1ff730e379 100644 --- a/library/std/src/sys/unsupported/process.rs +++ b/library/std/src/sys/unsupported/process.rs @@ -166,7 +166,7 @@ impl From for ExitCode { fn from(code: u8) -> Self { match code { 0 => Self::SUCCESS, - 1..255 => Self::FAILURE, + 1..=255 => Self::FAILURE, } } }