rust/library/core/src/str
Esteban Küber c3301503b9 Make Default const and add some const Default impls
Full list of `impl const Default` types:

- ()
- bool
- char
- Cell
- std::ascii::Char
- usize
- u8
- u16
- u32
- u64
- u128
- i8
- i16
- i32
- i64
- i128
- f16
- f32
- f64
- f128
- std::marker::PhantomData<T>
- Option<T>
- std::iter::Empty<T>
- std::ptr::Alignment
- &[T]
- &mut [T]
- &str
- &mut str
- String
- Vec<T>
2025-07-07 22:09:37 +00:00
..
converts.rs std: note that std::str::from_utf8* functions are aliases to std::<str>::from_utf8* methods 2025-05-31 22:37:59 +08:00
count.rs use is_multiple_of instead of manual modulo 2025-07-05 10:55:35 +02:00
error.rs add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
iter.rs use div_ceil instead of manual logic 2025-07-05 10:55:42 +02:00
lossy.rs docs: alias limit to Iterator::take, cite [u8]::utf8_chunks in Utf8Chunks 2025-05-02 23:41:52 +02:00
mod.rs Make Default const and add some const Default impls 2025-07-07 22:09:37 +00:00
pattern.rs Revert "increase perf of charsearcher for single ascii characters" 2025-05-28 09:29:12 +02:00
traits.rs FromStr: Rework explanation of FromStr/Display round-tripping 2025-06-03 15:41:47 -07:00
validations.rs use is_multiple_of instead of manual modulo 2025-07-05 10:55:35 +02:00