about summary refs log tree commit diff
path: root/library/core/src/str
AgeCommit message (Expand)AuthorLines
2025-08-06tidyBoxy-4/+4
2025-07-29Auto merge of #144393 - heiher:str-contains-lsx, r=tgross35bors-3/+16
2025-07-29LoongArch64 LSX fast-path for `str.contains(&str)`WANG Rui-3/+16
2025-07-29Auto merge of #143289 - scottmcm:remove-array-chunks, r=jhprattbors-1/+1
2025-07-27Remove `[T]::array_chunks(_mut)`Scott McMurray-1/+1
2025-07-25str: Mark unstable `round_char_boundary` feature functions as constokaneco-14/+26
2025-07-22Rollup merge of #143768 - Randl:const-try, r=oli-obk许杰友 Jieyou Xu (Joe)-0/+2
2025-07-21Constify Try, From, TryFromEvgenii Zheltonozhskii-0/+2
2025-07-20Rollup merge of #143423 - hkBst:clippy-fix-1, r=workingjubileeGuillaume Gomez-1/+0
2025-07-17Make slices `[const] PartialEq`Oli Scherer-1/+2
2025-07-16Rollup merge of #143921 - oli-obk:const-index, r=fee1-deadSamuel Tardieu-15/+28
2025-07-15Rollup merge of #143907 - Kijewski:pr-inline-split_at_unchecked, r=Mark-Simul...Samuel Tardieu-0/+1
2025-07-15constify `Index` trait and its slice implsOli Scherer-4/+6
2025-07-15constify some methods using `SliceIndex`Oli Scherer-2/+4
2025-07-15constify `SliceIndex` traitOli Scherer-9/+18
2025-07-13core: make `str::split_at_unchecked()` inlineRené Kijewski-0/+1
2025-07-13update issue number for `const_trait_impl`Deadbeef-2/+2
2025-07-08collect.rs: remove empty line after doc commentMarijn Schouten-1/+0
2025-07-07Make `Default` const and add some `const Default` implsEsteban Küber-2/+4
2025-07-07lib: more eagerly return `self.len()` from `ceil_char_boundary`Simonas Kazlauskas-1/+1
2025-07-05use `div_ceil` instead of manual logicFolkert de Vries-3/+3
2025-07-05use `is_multiple_of` instead of manual moduloFolkert de Vries-2/+2
2025-07-01Update version placeholdersJosh Stone-1/+1
2025-06-24Rollup merge of #142779 - Erk-:fix/core/142734, r=jhprattGuillaume Gomez-0/+6
2025-06-20Add note about `str::split` handling of no matches.Valdemar Erk-0/+6
2025-06-11Add trim_prefix and trim_suffix for slice and str.Deven T. Corzine-0/+77
2025-06-05Stabilize `const_eq_ignore_ascii_case`Paolo Barbolini-1/+1
2025-06-03`FromStr`: Rework explanation of `FromStr`/`Display` round-trippingJosh Triplett-6/+5
2025-06-03Add some more description of interactions between `Display` and `FromStr`Josh Triplett-0/+6
2025-06-03Improve the documentation of `Display` and `FromStr`, and their interactionsJosh Triplett-0/+9
2025-05-31Rollup merge of #141112 - xizheyin:issue-141079, r=Mark-SimulacrumMatthias Krüger-0/+8
2025-05-31std: note that `std::str::from_utf8*` functions are aliases to `std::<str>::f...xizheyin-0/+8
2025-05-28Revert "increase perf of charsearcher for single ascii characters"Jakub Beránek-32/+2
2025-05-27Auto merge of #129658 - saethlin:spare-a-crumb, r=jhprattbors-0/+4
2025-05-27Rollup merge of #141516 - bend-n:okay, r=workingjubilee许杰友 Jieyou Xu (Joe)-2/+32
2025-05-26Rollup merge of #140952 - SimonSapin:ascii_whitespace_definition, r=dtolnayJacob Pratt-1/+3
2025-05-26increase perf of charsearcher for single ascii charactersbendn-2/+32
2025-05-21Add some track_caller info to precondition panicsBen Kimock-0/+4
2025-05-16Add assert_unsafe_precondition!()s to as_ascii_unchecked() methodssam skeoch-0/+7
2025-05-16Add as_ascii_unchecked() methods to char, str, and u8sam skeoch-0/+15
2025-05-12Specify that split_ascii_whitespace uses the same definition as is_ascii_whit...Simon Sapin-1/+3
2025-05-12update cfg(bootstrap)Pietro Albini-2/+2
2025-05-02docs: alias `limit` to `Iterator::take`, cite `[u8]::utf8_chunks` in `Utf8Chu...Lieselotte-0/+2
2025-04-28Auto merge of #123239 - Urgau:dangerous_implicit_autorefs, r=jdonszelmann,tra...bors-0/+2
2025-04-28Rollup merge of #140359 - DiuDiu777:str-fix, r=NoratriebChris Denton-2/+2
2025-04-27Rollup merge of #139031 - DaniPopes:str-trim-closure, r=tgross35Matthias Krüger-3/+3
2025-04-27specify explicit safety guidance for from_utf8_uncheckedLemonJ-2/+2
2025-04-20Add `#[rustc_no_implicit_autorefs]` and apply it to std methodsUrgau-0/+2
2025-04-09replace version placeholderBoxy-9/+9
2025-03-27Use char::is_whitespace directly in str::trim*DaniPopes-3/+3