about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/sys/unsupported/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unsupported/process.rs b/library/std/src/sys/unsupported/process.rs
index deb58ffa8c7..42a1ff730e3 100644
--- a/library/std/src/sys/unsupported/process.rs
+++ b/library/std/src/sys/unsupported/process.rs
@@ -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,
         }
     }
 }