fix tests
This commit is contained in:
1 parent
2731ca0b30
commit
b3c5158524
6 files changed
+57
-12
No files matched your search
@@ -36,6 +36,12 @@ macro_rules! read_impls {
|
||||
self.with(|v| Debug::fmt(v, f))
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: PartialEq + 'static, S: $bound> PartialEq<T> for $ty<T, S> {
|
||||
fn eq(&self, other: &T) -> bool {
|
||||
self.with(|v| *v == *other)
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user