We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f710b40 commit 8eb2f12Copy full SHA for 8eb2f12
gazebo/gazebo/src/phantom.rs
@@ -74,6 +74,6 @@ impl<T: ?Sized> PartialEq<PhantomDataInvariant<T>> for PhantomDataInvariant<T> {
74
75
impl<T: ?Sized> PartialOrd<PhantomDataInvariant<T>> for PhantomDataInvariant<T> {
76
fn partial_cmp(&self, other: &PhantomDataInvariant<T>) -> Option<std::cmp::Ordering> {
77
- self.0.partial_cmp(&other.0)
+ Some(self.cmp(other))
78
}
79
0 commit comments