From 15c8e3e6ff2f6cb3993e85fe26f7ec39fd25ac27 Mon Sep 17 00:00:00 2001 From: jif-oai Date: Thu, 30 Apr 2026 16:09:37 +0100 Subject: [PATCH] Remove cross-id equality Co-authored-by: Codex --- codex-rs/protocol/src/session_id.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/codex-rs/protocol/src/session_id.rs b/codex-rs/protocol/src/session_id.rs index 5af262677d..e9c3f0412a 100644 --- a/codex-rs/protocol/src/session_id.rs +++ b/codex-rs/protocol/src/session_id.rs @@ -64,18 +64,6 @@ impl From for ThreadId { } } -impl PartialEq for SessionId { - fn eq(&self, other: &ThreadId) -> bool { - self.to_string() == other.to_string() - } -} - -impl PartialEq for ThreadId { - fn eq(&self, other: &SessionId) -> bool { - self.to_string() == other.to_string() - } -} - impl Default for SessionId { fn default() -> Self { Self::new()