diff --git a/crates/oxc_span/src/atom.rs b/crates/oxc_span/src/atom.rs index 2af56a3046d19..fc13040db2d99 100644 --- a/crates/oxc_span/src/atom.rs +++ b/crates/oxc_span/src/atom.rs @@ -184,12 +184,6 @@ impl PartialEq> for Cow<'_, str> { } } -impl PartialEq<&Atom<'_>> for Cow<'_, str> { - fn eq(&self, other: &&Atom<'_>) -> bool { - self.as_ref() == other.as_str() - } -} - impl ContentEq for Atom<'_> { fn content_eq(&self, other: &Self) -> bool { self == other