mirror of
https://github.com/astro/deadnix.git
synced 2024-11-04 00:56:23 +03:00
binding: remove unused impl PartialEq, Eq
This commit is contained in:
parent
8e2e6af26e
commit
53b1b0c303
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user