[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
No known key found for this signature in database
GPG key ID: 43FD8EDE42E1A799

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