summary refs log tree commit diff
path: root/library/core/src/char/methods.rs
AgeCommit message (Expand)AuthorLines
2025-01-31Update encode_utf16 to mention it is native endianMarijn Schouten-3/+3
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-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-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-1/+1
2024-09-09Stabilize `char::MIN`okaneco-4/+1
2024-09-08add FIXME(const-hack)Ralf Jung-1/+1
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-4/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-28step cfg(bootstrap)Mark Rousskov-4/+1
2024-07-28Update CURRENT_RUSTC_VERSIONMark Rousskov-1/+1
2024-06-25Stabilize const unchecked conversion from u32 to charDavid Tolnay-1/+4
2024-05-08Avoid panicking branch in `EscapeIterInner`.Markus Reiter-4/+4
2024-04-20Add a lower bound check to `unicode-table-generator` outputArpad Borsos-1/+1
2024-02-15Add ASCII fast-path for `char::is_grapheme_extended`Arpad Borsos-1/+1
2023-12-10remove redundant importssurechen-1/+0
2023-10-26Refactor some `char`, `u8` ascii functions to be branchlessokaneco-3/+6
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