PartialEq implemented too.
This commit is contained in:
parent
e986a1ba7a
commit
7f89685537
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user