rust/library/core/src/slice
Dylan DPC 00db13fcc9
Rollup merge of #101412 - WaffleLapkin:improve_std_ptr_code_leftovers, r=scottmcm
Some more cleanup in `core`

- remove some integer casts from slice iter (proposed in https://github.com/rust-lang/rust/pull/100819#discussion_r951113196)
- replace `as usize` casts with `usize::from` in slice sort (proposed in https://github.com/rust-lang/rust/pull/100822#discussion_r950768698)

r? `@scottmcm`
2022-09-06 16:34:44 +05:30
..
iter remove some integer casts from slice iter 2022-09-04 20:45:29 +04:00
ascii.rs Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
cmp.rs make memcmp return a value of c_int_width instead of i32 2022-04-02 17:21:08 -07:00
index.rs Make const_eval_select a real intrinsic 2022-09-04 20:35:23 +08:00
iter.rs Fix a bunch of typo 2022-08-31 18:24:55 +08:00
memchr.rs Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
mod.rs Make const_eval_select a real intrinsic 2022-09-04 20:35:23 +08:00
raw.rs Make const_eval_select a real intrinsic 2022-09-04 20:35:23 +08:00
rotate.rs Fix a bunch of typos 2021-12-14 16:40:43 +01:00
sort.rs replace as usize casts with usize::from in slice sort 2022-09-04 20:54:51 +04:00
specialize.rs Remove size_of == 1 case from fill specialization. 2021-08-09 19:25:28 +02:00