rust/library/core/src/slice
Scott McMurray 3554036280 Use nuw when calculating slice lengths from Ranges
An `assume` would definitely not be worth it, but since the flag is almost free we might as well tell LLVM this, especially on `_unchecked` calls where there's no obvious way for it to deduce it.

(Today neither safe nor unsafe indexing gets it: <https://rust.godbolt.org/z/G1jYT548s>)
2023-03-05 15:15:22 -08:00
..
iter Allow canonicalizing the array::map loop in trusted cases 2023-02-04 16:44:51 -08:00
ascii.rs EscapeAscii is not an ExactSizeIterator 2022-07-29 00:35:38 +00:00
cmp.rs Merge two different equality specialization traits in core 2023-03-01 14:42:06 -08:00
index.rs Use nuw when calculating slice lengths from Ranges 2023-03-05 15:15:22 -08:00
iter.rs Allow canonicalizing the array::map loop in trusted cases 2023-02-04 16:44:51 -08:00
memchr.rs Change 'from_bytes_until_nul' to const stable 2023-02-01 02:14:07 -05:00
mod.rs Auto merge of #105117 - pitaj:debug_asserts, r=the8472 2023-03-05 19:35:44 +00:00
raw.rs Print the precondition we violated, and visible through output capture 2022-10-26 22:09:17 -04:00
rotate.rs Make ZST checks in core/alloc more readable 2022-09-22 23:12:29 -07:00
sort.rs Match unmatched backticks in library/ 2023-03-03 03:03:29 +01:00
specialize.rs Remove size_of == 1 case from fill specialization. 2021-08-09 19:25:28 +02:00