rust/library/core/src/ptr
Matthias Krüger afe2d7392f
Rollup merge of #118231 - RalfJung:const-raw-slice-empty, r=cuviper
also add is_empty to const raw slices

We have this on mutable raw slices but not const raw slices, which makes little sense.

Cc https://github.com/rust-lang/rust/issues/71146
2023-11-29 12:34:49 +01:00
..
alignment.rs Convert many assert_unsafe_precondition to debug_assert_nounwind 2023-11-25 23:58:51 +00:00
const_ptr.rs also add is_empty to const raw slices 2023-11-24 08:25:01 +01:00
metadata.rs Flip cfg's for bootstrap bump 2023-07-12 21:38:55 -04:00
mod.rs Rollup merge of #117968 - Urgau:stabilize-ptr-addr-eq, r=dtolnay 2023-11-25 17:23:33 -05:00
mut_ptr.rs also add is_empty to const raw slices 2023-11-24 08:25:01 +01:00
non_null.rs Add is_aligned{,_to} convenience methods to NonNull 2023-11-26 16:01:31 +00:00
unique.rs Flip cfg's for bootstrap bump 2023-07-12 21:38:55 -04:00