From 34f045d84d45237153d89ebd24b50dcd0c845ba4 Mon Sep 17 00:00:00 2001 From: Boshen Date: Mon, 8 May 2023 20:41:42 +0800 Subject: [PATCH] chore(hir): removed unused PartialEq on NullLiteral --- crates/oxc_hir/src/hir.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/oxc_hir/src/hir.rs b/crates/oxc_hir/src/hir.rs index 7e8f1f9cc..b11e2d293 100644 --- a/crates/oxc_hir/src/hir.rs +++ b/crates/oxc_hir/src/hir.rs @@ -226,12 +226,6 @@ impl Hash for NullLiteral { } } -impl PartialEq for NullLiteral { - fn eq(&self, _other: &Self) -> bool { - true - } -} - #[derive(Debug, Clone)] #[cfg_attr(feature = "serde", derive(Serialize), serde(tag = "type"))] pub struct NumberLiteral<'a> {