2 Use `std::ptr::eq` when applicable
5 `ptr::eq` can be used to compare `&T` references
6 (which coerce to `*const T` implicitly) by their address rather than
7 comparing the values they point to.
14 assert!(a as *const _ as usize == b as *const _ as usize);
21 assert!(std::ptr::eq(a, b));