[library/std/src/process.rs] PartialEq & Eq for ExitCode

This commit is contained in:
Samuel Marks
2024-07-11 20:06:48 -04:00
parent 5315cbe15b
commit 0fe65aa68f

View File

@@ -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);