![]() # Objective Fixes #17988 ## Solution Added two Debug impls to the `impl_ptr` macro - one for Aligned and one for Unaligned. ## Testing No tests have been added. Would a test guaranteeing debug layout be appropriate? --- ## Showcase The debug representation of a `Ptr<'_, Aligned>` follows. `PtrMut` and `OwningPtr` are similar. `Ptr<Aligned>(0x0123456789ab)` |
||
---|---|---|
.. | ||
lib.rs |