mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
24066910ca
`sub_ptr()` is equivalent to `usize::try_from().unwrap_unchecked()`, not `usize::from().unwrap_unchecked()` `usize::from()` gives a `usize`, not `Result<usize>`, and `usize: From<isize>` is not implemented.