Make use of `[wrapping_]byte_{add,sub}`
These new methods trivially replace old `.cast().wrapping_offset().cast()` & similar code.
Note that [`arith_offset`](https://doc.rust-lang.org/std/intrinsics/fn.arith_offset.html) and `wrapping_offset` are the same thing.
r? ``@scottmcm``
_split off from #100746_
|
||
|---|---|---|
| .. | ||
| const_ptr.rs | ||
| metadata.rs | ||
| mod.rs | ||
| mut_ptr.rs | ||
| non_null.rs | ||
| unique.rs | ||