rust/library/core
Matthias Krüger ef4a64b5d2
Rollup merge of #122800 - zachs18:nonnull-slice-is_empty, r=Amanieu
Add `NonNull::<[T]>::is_empty`.

As per https://github.com/rust-lang/rust/issues/71146#issuecomment-2008373983

I figured this should be fine to be insta-stable (with an FCP), but I can edit if that is not desired.

r? ```@Amanieu```
2024-03-22 11:37:00 +01:00
..
benches Add benches for net parsing 2024-03-04 18:46:24 -05:00
src Rollup merge of #122800 - zachs18:nonnull-slice-is_empty, r=Amanieu 2024-03-22 11:37:00 +01:00
tests step cfgs 2024-03-20 08:49:13 -04:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00