fix tests

This commit is contained in:
Evan Almloff committed 2023-11-07 13:15:19 -06:00
1 parent 2731ca0b30
commit b3c5158524
6 files changed
+57 -12

No files matched your search

+6
View File
@@ -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)
}
}
};
}