summary refs log tree commit diff
path: root/library/core/src/str/mod.rs
AgeCommit message (Expand)AuthorLines
2024-11-27update cfgsBoxy-2/+2
2024-11-27replace placeholder versionBoxy-2/+2
2024-11-20Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=UrgauJacob Pratt-0/+2
2024-11-14docs: Fix missing colon in methods for primitive typesShun Sakai-1/+1
2024-11-11Tag relevant functions with #[rustc_as_ptr] attributegavincrawford-0/+2
2024-11-05Add new unstable feature `const_eq_ignore_ascii_case`okaneco-1/+2
2024-11-02Rollup merge of #132398 - krtab:add_doc_link, r=NoratriebMatthias Krüger-5/+9
2024-11-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-1/+0
2024-10-31Add intra-doc link in str::xxx_char_boundaryArthur Carcano-3/+5
2024-10-30Add intra-doc link in str::xxx_prefixArthur Carcano-2/+4
2024-10-29Rollup merge of #131520 - zachs18:const-str-split, r=NoratriebJubilee-12/+36
2024-10-23const fn str::split_at*Zachary S-6/+29
2024-10-23const fn str::is_char_boundaryZachary S-6/+7
2024-10-15update bootstrap configsJosh Stone-4/+0
2024-10-15replace placeholder versionJosh Stone-2/+2
2024-10-14Stabilise 'const_make_ascii'Gabriel Bjørnager Jensen-2/+4
2024-10-02library: Stabilize `const_str_as_mut`Jubilee Young-2/+4
2024-09-24Mark and implement 'make_ascii_uppercase' and 'make_ascii_lowercase' in '[u8]...Gabriel Bjørnager Jensen-2/+4
2024-09-23Rollup merge of #129550 - kornelski:boxasstr, r=joshtriplett,dtolnayMatthias Krüger-0/+11
2024-09-19Add str.as_str() for easy dereferencing of Box<str>Kornel-0/+11
2024-09-19[Clippy] Swap `manual_strip` to use diagnostic items instead of pathsGnomedDev-0/+3
2024-09-18[Clippy] Swap `manual_retain` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-07str: make as_mut_ptr and as_bytes_mut unstably constRalf Jung-2/+4
2024-08-21Fix stability attribute of `impl !Error for &str`Tobias Bucher-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-45/+23
2024-07-26Fix doc nitsJohn Arundel-32/+34
2024-07-24Rollup merge of #127481 - a1phyr:pattern_gat, r=AmanieuMatthias Krüger-38/+37
2024-07-23Add elem_offset and related methodswr7-0/+34
2024-07-15Remove generic lifetime parameter of trait `Pattern`Benoît du Garreau-38/+37
2024-06-12Auto merge of #126273 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrumbors-8/+8
2024-06-12Revert "Rollup merge of #125362 - joboet:tait_hack, r=Nilstrieb"Oli Scherer-37/+67
2024-06-11replace version placeholderPietro Albini-8/+8
2024-05-23core: use `Copy` in TAIT to fix clippy lintjoboet-9/+9
2024-05-21core: actually use TAIT instead of emulating itjoboet-67/+37
2024-05-10Stabilize `byte_slice_trim_ascii` for `&[u8]`/`&str`okaneco-9/+6
2024-05-03Rollup merge of #124678 - UserIsntAvailable:feat/stabilize-split-at-checked, ...Michael Goulet-6/+2
2024-05-03feat: stabilize `split_at_checked`UserIsntAvailable-6/+2
2024-05-01Replace version placeholders for 1.79Mark Rousskov-1/+1
2024-04-24Stabilize Utf8ChunksDavid Tolnay-1/+1
2024-03-20step cfgsMark Rousskov-9/+1
2024-03-02const_eval_select: make it safe but be careful with what we expose on stable ...Ralf Jung-0/+1
2024-02-20docs: add missing "the" to `str::strip_prefix` docMalobre-2/+2
2024-02-09Change wordingVenus Xeon-Blonde-7/+6
2024-02-07Fix whitespace issues that tidy caughtVenus Xeon-Blonde-4/+4
2024-02-07Add documentation on `str::starts_with`Venus Xeon-Blonde-0/+14
2024-01-26Rollup merge of #119466 - Sky9x:str_from_raw_parts, r=dtolnayMatthias Krüger-0/+3
2024-01-21reviewMichal Nazarewicz-2/+2
2024-01-20core: introduce split_at{,_mut}_checkedMichal Nazarewicz-18/+111
2023-12-31Initial implementation of `str::from_raw_parts[_mut]`Sky-0/+3
2023-12-12Add ASCII whitespace trimming functions to `&str`okaneco-0/+79