diff options
| author | Samuel Marks <807580+SamuelMarks@users.noreply.github.com> | 2024-07-11 20:06:48 -0400 |
|---|---|---|
| committer | Samuel Marks <807580+SamuelMarks@users.noreply.github.com> | 2024-07-11 20:06:48 -0400 |
| commit | 0fe65aa68fb097d0c653e64cf7331d990618c032 (patch) | |
| tree | 5c2b97f78772d3608e2f75561b486c578aa5ec00 | |
| parent | 5315cbe15b79533f380bbb6685aa5480d5ff4ef5 (diff) | |
| download | rust-0fe65aa68fb097d0c653e64cf7331d990618c032.tar.gz rust-0fe65aa68fb097d0c653e64cf7331d990618c032.zip | |
[library/std/src/process.rs] `PartialEq` & `Eq` for `ExitCode`
| -rw-r--r-- | library/std/src/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs index f351dab78dc..727f8f5ceb6 100644 --- a/library/std/src/process.rs +++ b/library/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); |
