You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
Simplify implementation of `debug_ensure_aligned`.
The code has a comment asking for the implementation to be replaced when
`ptr::is_aligned_to` is stable. While `is_aligned_to` hasn't been
stabilized, `ptr::is_aligned` has, and is what we want here anyway.
## Solution
Use `ptr::is_aligned`.
0 commit comments