diff --git a/std/src/process.rs b/std/src/process.rs index f351dab78dc1a..727f8f5ceb660 100644 --- a/std/src/process.rs +++ b/std/src/process.rs @@ -1979,7 +1979,7 @@ impl crate::error::Error for ExitStatusError {} /// ExitCode::SUCCESS /// } /// ``` -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, PartialEq, Eq)] #[stable(feature = "process_exitcode", since = "1.61.0")] pub struct ExitCode(imp::ExitCode);