binding: remove unused impl PartialEq, Eq

This commit is contained in:
Astro 2023-04-17 00:35:31 +02:00
parent 8e2e6af26e
commit 53b1b0c303

View File

@ -12,14 +12,6 @@ pub struct Binding {
mortal: bool,
}
impl PartialEq for Binding {
fn eq(&self, other: &Self) -> bool {
self.decl_node == other.decl_node &&
self.name.syntax().text() == other.name.syntax().text()
}
}
impl Eq for Binding {}
impl Binding {
pub fn new(
name: Ident,