rust/library/core/src/ptr
Chayim Refael Friedman 236f8231a6
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.
2023-01-23 14:42:32 +02:00
..
alignment.rs Update bootstrap cfg 2022-12-28 09:18:43 -05:00
const_ptr.rs sub_ptr() is equivalent to usize::try_from().unwrap_unchecked(), not usize::from().unwrap_unchecked(). 2023-01-23 14:42:32 +02:00
metadata.rs Update bootstrap cfg 2022-12-28 09:18:43 -05:00
mod.rs Remove various double spaces in source comments. 2023-01-14 17:22:04 +01:00
mut_ptr.rs sub_ptr() is equivalent to usize::try_from().unwrap_unchecked(), not usize::from().unwrap_unchecked(). 2023-01-23 14:42:32 +02:00
non_null.rs Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where-applicable, r=m-ou-se 2023-01-18 15:55:36 +05:30
unique.rs Implement core::ptr::Unique on top of NonNull 2022-04-14 19:35:40 +02:00