rust/library/core/src/slice
bors e35a56d96f Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviper
Use `assert_unchecked` instead of `assume` intrinsic in the standard library

Now that a public wrapper for the `assume` intrinsic exists, we can use it in the standard library.

CC #119131
2024-01-23 06:45:58 +00:00
..
iter libs: use assert_unchecked instead of intrinsic 2024-01-13 20:10:00 +01:00
ascii.rs Rollup merge of #113142 - the8472:opt-cstr-display, r=Mark-Simulacrum 2024-01-20 09:37:25 +01:00
cmp.rs A more efficient slice comparison implementation for T: !BytewiseEq 2024-01-08 16:36:48 +01:00
index.rs libs: use assert_unchecked instead of intrinsic 2024-01-13 20:10:00 +01:00
iter.rs Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviper 2024-01-23 06:45:58 +00:00
memchr.rs Use usize::repeat_u8 instead of implementing repeat_byte in memchr.rs 2023-11-26 12:27:56 +00:00
mod.rs Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviper 2024-01-23 06:45:58 +00:00
raw.rs Add more diagnostic items for clippy 2023-10-05 18:21:47 -04:00
rotate.rs Make ZST checks in core/alloc more readable 2022-09-22 23:12:29 -07:00
select.rs Use helper functions for min/max_idx 2023-05-24 19:33:04 +00:00
sort.rs Avoid unnecessary comparison in partition_equal 2023-10-25 19:37:14 +02:00
specialize.rs Remove size_of == 1 case from fill specialization. 2021-08-09 19:25:28 +02:00