rust/library/core/src/str
Thalia Archibald 988eb19970 library: Use size_of from the prelude instead of imported
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.
2025-03-06 20:20:38 -08:00
..
converts.rs Stabilize core::str::from_utf8_mut 2025-02-23 15:16:26 +01:00
count.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
error.rs add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
iter.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lossy.rs chore: fix typos 2024-12-24 23:37:30 +08:00
mod.rs Rollup merge of #136668 - WaffleLapkin:from_utf8_mut, r=Amanieu 2025-02-24 18:46:34 -05:00
pattern.rs add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants 2025-02-16 21:08:38 +08:00
traits.rs remove const_slice_index annotations, it never had a feature gate anyway 2024-09-08 23:08:43 +02:00
validations.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00