Skip to content

Commit 2f6b826

Browse files
committed
Eq by value
1 parent 676bf13 commit 2f6b826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/table.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ where
223223
loop {
224224
assert!(index > 0);
225225

226-
if &value == self.value(index) {
226+
if value == *self.value(index) {
227227
// The node already exists.
228228
return index;
229229
}

0 commit comments

Comments
 (0)