PartialEq implemented too.

This commit is contained in:
Tom Alexander
2020-05-10 21:00:06 -04:00
parent e986a1ba7a
commit 7f89685537

View File

@@ -42,6 +42,6 @@ pub trait IntoBoxedContextElement {
impl<'a, 'b> PartialEq<&'b dyn ContextElement> for &'a dyn ContextElement { impl<'a, 'b> PartialEq<&'b dyn ContextElement> for &'a dyn ContextElement {
fn eq(&self, other: &&'b dyn ContextElement) -> bool { fn eq(&self, other: &&'b dyn ContextElement) -> bool {
false self.equals(*other)
} }
} }