From 79855bb9ba43060b6718a468ad73094d173d7ce7 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Thu, 11 Jul 2024 20:06:48 -0400 Subject: [PATCH] [library/std/src/process.rs] `PartialEq` & `Eq` for `ExitCode` --- std/src/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);