We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f32e547 commit a9770d0Copy full SHA for a9770d0
src/volatile_ptr/mod.rs
@@ -88,6 +88,7 @@ where
88
T: ?Sized,
89
{
90
fn cmp(&self, other: &Self) -> Ordering {
91
+ #[allow(ambiguous_wide_pointer_comparisons)]
92
Ord::cmp(&self.pointer.as_ptr(), &other.pointer.as_ptr())
93
}
94
src/volatile_ref.rs
@@ -323,6 +323,7 @@ where
323
324
325
326
327
328
329
0 commit comments