[library/std/src/process.rs] PartialEq & Eq for ExitCode · qinheping/verify-rust-std@79855bb (original) (raw)

Original file line number Diff line number Diff line change
@@ -1979,7 +1979,7 @@ impl crate::error::Error for ExitStatusError {}
1979 1979 /// ExitCode::SUCCESS
1980 1980 /// }
1981 1981 /// ```
1982 -#[derive(Clone, Copy, Debug)]
1982 +#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1983 1983 #[stable(feature = "process_exitcode", since = "1.61.0")]
1984 1984 pub struct ExitCode(imp::ExitCode);
1985 1985