Skip to content

Commit fa0da42

Browse files
committed
small fix duplicated eq
1 parent cd7d968 commit fa0da42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/middleware/containers.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl<'a> IntoIterator for &'a Dictionary {
5757

5858
impl PartialEq for Dictionary {
5959
fn eq(&self, other: &Self) -> bool {
60-
self.mt.root() == other.mt.root() && self.mt.root() == other.mt.root()
60+
self.mt.root() == other.mt.root()
6161
}
6262
}
6363
impl Eq for Dictionary {}
@@ -108,7 +108,7 @@ impl Set {
108108

109109
impl PartialEq for Set {
110110
fn eq(&self, other: &Self) -> bool {
111-
self.mt.root() == other.mt.root() && self.mt.root() == other.mt.root()
111+
self.mt.root() == other.mt.root()
112112
}
113113
}
114114
impl Eq for Set {}
@@ -153,7 +153,7 @@ impl Array {
153153

154154
impl PartialEq for Array {
155155
fn eq(&self, other: &Self) -> bool {
156-
self.mt.root() == other.mt.root() && self.mt.root() == other.mt.root()
156+
self.mt.root() == other.mt.root()
157157
}
158158
}
159159
impl Eq for Array {}

0 commit comments

Comments
 (0)