We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Debug
1 parent c70044c commit 56dc7f9Copy full SHA for 56dc7f9
src/volatile_ptr/mod.rs
@@ -50,10 +50,7 @@ where
50
T: ?Sized,
51
{
52
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
53
- f.debug_struct("VolatilePtr")
54
- .field("pointer", &self.pointer)
55
- .field("access", &self.access)
56
- .finish()
+ fmt::Pointer::fmt(&self.pointer.as_ptr(), f)
57
}
58
59
src/volatile_ref.rs
@@ -245,10 +245,7 @@ where
245
246
247
248
- f.debug_struct("VolatileRef")
249
250
251
252
253
254
0 commit comments