summary refs log tree commit diff
path: root/library/core/src/char
AgeCommit message (Expand)AuthorLines
2024-12-31char to_digit: avoid unnecessary casts to u64Marcondiro-7/+11
2024-11-27update cfgsBoxy-5/+0
2024-11-27replace placeholder versionBoxy-4/+4
2024-11-14Auto merge of #132709 - programmerjake:optimize-charto_digit, r=joshtriplettbors-13/+31
2024-11-12stabilize const_unicode_case_lookupRalf Jung-4/+2
2024-11-06optimize char::to_digit and assert radix is at least 2Jacob Lifshay-13/+31
2024-11-06Auto merge of #132500 - RalfJung:char-is-whitespace-const, r=jhprattbors-2/+3
2024-11-05Auto merge of #132661 - matthiaskrgr:rollup-npytbl6, r=matthiaskrgrbors-1/+1
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-1/+1
2024-11-04Stabilise 'const_char_encode_utf16';Gabriel Bjørnager Jensen-2/+5
2024-11-03Auto merge of #132542 - RalfJung:const_panic, r=tgross35bors-24/+19
2024-11-03add const_panic macro to make it easier to fall back to non-formatting panic ...Ralf Jung-24/+19
2024-11-03Auto merge of #132458 - RalfJung:rustc-const-unstable, r=Amanieubors-1/+0
2024-11-02make char::is_whitespace unstably constRalf Jung-2/+3
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-1/+0
2024-11-02fix some stability annotationsLukas Markeffsky-1/+1
2024-10-27Support `char::is_digit` in const contextsultrabear-1/+2
2024-10-25Re-do recursive const stability checksRalf Jung-1/+1
2024-10-15update bootstrap configsJosh Stone-4/+0
2024-10-15replace placeholder versionJosh Stone-3/+3
2024-10-14Stabilise 'const_make_ascii'Gabriel Bjørnager Jensen-2/+4
2024-10-10Stabilise 'const_char_encode_utf8';Gabriel Bjørnager Jensen-2/+5
2024-10-01Rollup merge of #130773 - bjoernager:master, r=thomccMatthias Krüger-2/+1
2024-09-28Update Unicode escapes;Gabriel Bjørnager Jensen-2/+1
2024-09-25Add 'must_use' attribute to 'char::len_utf8' and 'char::len_utf16';Gabriel Bjørnager Jensen-0/+4
2024-09-23Rollup merge of #130713 - bjoernager:const-char-make-ascii, r=NoratriebMatthias Krüger-2/+2
2024-09-23Rollup merge of #130659 - bjoernager:const-char-encode-utf16, r=dtolnayMatthias Krüger-25/+35
2024-09-22Mark 'make_ascii_uppercase' and 'make_ascii_lowercase' in 'u8' as const; Rena...Gabriel Bjørnager Jensen-2/+2
2024-09-22Auto merge of #130697 - bjoernager:const-char-make-ascii, r=dtolnaybors-2/+4
2024-09-22Mark 'make_ascii_uppercase' and 'make_ascii_lowercase' in 'char' as const;Gabriel Bjørnager Jensen-2/+4
2024-09-21Mark and implement 'char::encode_utf16' as const; Rewrite 'encode_utf16_raw';Gabriel Bjørnager Jensen-25/+35
2024-09-20Address diagnostics regression for 'const_char_encode_utf8';Gabriel Bjørnager Jensen-2/+12
2024-09-18Mark and implement 'char::encode_utf8' as const.Gabriel Bjørnager Jensen-18/+14
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-2/+2
2024-09-09Stabilize `char::MIN`okaneco-4/+1
2024-09-08add FIXME(const-hack)Ralf Jung-2/+2
2024-08-31Remove stray dot in `std::char::from_u32_unchecked` documentationEduardo Sánchez Muñoz-1/+1
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