summary refs log tree commit diff
path: root/library/core/src/char
AgeCommit message (Expand)AuthorLines
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-5/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+2
2024-07-28step cfg(bootstrap)Mark Rousskov-4/+1
2024-07-28Update CURRENT_RUSTC_VERSIONMark Rousskov-2/+2
2024-07-19Use `#[rustfmt::skip]` on some `use` groups to prevent reordering.Nicholas Nethercote-0/+5
2024-07-17Avoid comments that describe multiple `use` items.Nicholas Nethercote-4/+2
2024-06-25Stabilize const unchecked conversion from u32 to charDavid Tolnay-2/+5
2024-05-09Improve escape methods.Markus Reiter-6/+1
2024-05-08Avoid panicking branch in `EscapeIterInner`.Markus Reiter-25/+31
2024-05-08Inline `EscapeDebug::size_hint`.Markus Reiter-0/+1
2024-04-20Add a lower bound check to `unicode-table-generator` outputArpad Borsos-1/+1
2024-03-29Auto merge of #122616 - Jules-Bertholet:casemappingiter-layout, r=Nilstriebbors-128/+181
2024-03-25Import the 2021 prelude in the core crateDaniel Paoliello-1/+0
2024-03-23move assert_unsafe_preconditions to its own fileRalf Jung-1/+1
2024-03-18Reimplement `CaseMappingIter` with `core::array::IntoIter`Jules Bertholet-128/+181
2024-03-16Optimize `core::char::CaseMappingIter` layoutJules Bertholet-27/+27
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-0/+1
2024-03-05Auto merge of #121138 - Swatinem:grapheme-extend-ascii, r=cuviperbors-1/+1
2024-02-15Add ASCII fast-path for `char::is_grapheme_extended`Arpad Borsos-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-3/+3
2024-02-08Rewrite assert_unsafe_precondition around the new intrinsicBen Kimock-1/+1
2023-12-15Use assert_unsafe_precondition for char::from_u32_uncheckedChris Denton-1/+8
2023-12-10remove redundant importssurechen-1/+0
2023-11-15Substitute version placeholdersMark Rousskov-1/+1
2023-10-26Refactor some `char`, `u8` ascii functions to be branchlessokaneco-3/+6
2023-10-15Auto merge of #110729 - ColinFinck:decode-utf16-fused-iterator, r=dtolnaybors-0/+4
2023-10-03Bump version placeholdersMark Rousskov-1/+1
2023-09-08Auto merge of #114299 - clarfonthey:char-min, r=dtolnay,BurntSushibors-1/+51
2023-07-31I'm mathematically challengedltdk-2/+2
2023-07-31Can't compare usize and u32ltdk-2/+2
2023-07-31Use u32::from for MIN/MAX examplesltdk-2/+2
2023-07-31Add note on gap for MIN/MAXltdk-0/+35
2023-07-31Add char::MINltdk-0/+15
2023-07-25`impl TryFrom<char> for u16`Lukas Markeffsky-2/+36
2023-05-12`ascii::Char`-ify the escaping codeScott McMurray-23/+24
2023-05-04Rollup merge of #111009 - scottmcm:ascii-char, r=BurntSushiMatthias Krüger-0/+19
2023-05-03Add the basic `ascii::Char` typeScott McMurray-0/+19
2023-05-02Rollup merge of #105076 - mina86:a, r=scottmcmDylan DPC-176/+132
2023-04-30reviewMichal Nazarewicz-7/+7
2023-04-24Implement FusedIterator for DecodeUtf16 when the inner iterator doesColin Finck-0/+4
2023-04-16rm const traits in libcoreDeadbeef-8/+4
2023-04-05Refactor core::char::EscapeDefault and co. structuresMichal Nazarewicz-176/+132
2023-02-12Auto merge of #105671 - lukas-code:depreciate-char, r=scottmcmbors-25/+7
2023-02-10Remove a couple of `#[doc(hidden)] pub fn` and their `#[feature]` gatesTobias Bucher-15/+13
2023-01-14Use associated items of `char` instead of freestanding items in `core::char`Lukas Markeffsky-25/+7
2022-12-28update stabilization version numbersPietro Albini-5/+5
2022-12-23char: µoptimise UTF-16 surrogates decodingMichal Nazarewicz-1/+1
2022-11-14Rollup merge of #102470 - est31:stabilize_const_char_convert, r=joshtriplettMatthias Krüger-8/+7
2022-10-16Clarify the possible return values of len_utf16Sky-0/+5
2022-09-29Stabilize const_char_convertest31-5/+5