about summary refs log tree commit diff
path: root/library/core/src/str
AgeCommit message (Expand)AuthorLines
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
2025-03-16Auto merge of #138537 - yotamofek:pr/lib/multi-char-pattern, r=jhprattbors-3/+3
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-9/+8
2025-03-15Optimize multi-char string patternsYotam Ofek-3/+3
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-3/+2
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-9/+8
2025-02-24Rollup merge of #136668 - WaffleLapkin:from_utf8_mut, r=AmanieuTrevor Gross-2/+2
2025-02-23Stabilize `core::str::from_utf8_mut`Waffle Lapkin-2/+2
2025-02-23Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrumbors-5/+5
2025-02-20Auto merge of #137295 - matthiaskrgr:rollup-tdu3t39, r=matthiaskrgrbors-18/+7
2025-02-19Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-seMatthias Krüger-2/+3
2025-02-19stabilize `inherent_str_constructors`may-18/+7
2025-02-18Rollup merge of #137126 - m4rch3n1ng:fix-inherent-str-docs, r=AmanieuMatthias Krüger-8/+8
2025-02-18update version placeholdersJosh Stone-5/+5
2025-02-16invalid_from_utf8[_unchecked]: also lint inherent methodsPavel Grigorenko-0/+4
2025-02-16add MAX_LEN_UTF8 and MAX_LEN_UTF16 constantsHTGAzureX1212-2/+3
2025-02-16fix docs for inherent str constructorsmay-8/+8
2025-02-14Rollup merge of #134016 - zachs18:stable-const-str-split_at, r=AmanieuJubilee-5/+5
2025-02-04specify a prim@slice in docsmay-1/+1
2025-02-04implement inherent str constructorsmay-0/+176
2025-01-31Update encode_utf16 to mention it is native endianMarijn Schouten-1/+2
2024-12-24chore: fix typosoliveredget-2/+2
2024-12-21Less unwrap() in documentationKornel-2/+3
2024-12-07Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.Zachary S-5/+5
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-05Rollup merge of #132571 - RalfJung:const_eval_select_macro, r=oli-obkMatthias Krüger-10/+7
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-10/+7
2024-11-04Improve example of `impl Pattern for &[char]`Eduardo Sánchez Muñoz-2/+2
2024-11-03remove const-support for align_offsetRalf Jung-7/+20
2024-11-03Auto merge of #132458 - RalfJung:rustc-const-unstable, r=Amanieubors-2/+0
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-2/+0
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