mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
parent
801b939479
commit
a07a0cf39f
3 changed files with 7 additions and 7 deletions
|
@ -727,7 +727,7 @@ impl<'a, T> Clone for JSRef<'a, T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a, T> PartialEq for JSRef<'a, T> {
|
||||
impl<'a, 'b, T> PartialEq<JSRef<'b, T>> for JSRef<'a, T> {
|
||||
fn eq(&self, other: &JSRef<T>) -> bool {
|
||||
self.ptr == other.ptr
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue