##// END OF EJS Templates
rust-nodemap: implement `PartialEq` without allocation...
Raphaël Gomès -
r50822:2202832b default
parent child Browse files
Show More
@@ -314,7 +314,7 b' impl From<Node> for NodePrefix {'
314
314
315 impl PartialEq<Node> for NodePrefix {
315 impl PartialEq<Node> for NodePrefix {
316 fn eq(&self, other: &Node) -> bool {
316 fn eq(&self, other: &Node) -> bool {
317 Self::from(*other) == *self
317 self.data == other.data && self.nybbles_len() == other.nybbles_len()
318 }
318 }
319 }
319 }
320
320
General Comments 0
You need to be logged in to leave comments. Login now