-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved Debug from derive to impl_ptr in bevy_ptr (#18042)
# 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)`
- Loading branch information
1 parent
b73811d
commit e43b28c
Showing
1 changed file
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters