about summary refs log tree commit diff
path: root/library/core/src/str/mod.rs
AgeCommit message (Expand)AuthorLines
2023-03-30add comment to `impl !Error for &str`Lukas Markeffsky-0/+1
2023-03-23Rollup merge of #100311 - xfix:lines-fix-handling-of-bare-cr, r=ChrisDentonDylan DPC-5/+5
2022-12-30Replace libstd, libcore, liballoc in line comments.jonathanCogan-1/+1
2022-12-17str.lines() docstring: clarify that line endings are not returnedStefano Zacchiroli-2/+4
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-2/+2
2022-11-24Document split{_ascii,}_whitespace() for empty stringsVojtech Kral-0/+12
2022-10-06Fix handling of trailing bare CR in str::linesKonrad Borowski-4/+4
2022-10-06Rename LinesAnyMap to LinesMapKonrad Borowski-2/+2
2022-09-26remove cfg(bootstrap)Pietro Albini-1/+0
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-0/+2
2022-08-22Move error trait into coreJane Losare-Lusby-0/+4
2022-08-20Rollup merge of #99544 - dylni:expose-utf8lossy, r=Mark-SimulacrumMatthias Krüger-3/+3
2022-08-20Expose `Utf8Lossy` as `Utf8Chunks`dylni-3/+3
2022-08-05ascii -> ASCII in code commentXavier Noria-1/+1
2022-06-13Document an edge case of `str::split_once`Imbolc-0/+1
2022-05-19Say "last" instead of "rightmost" in the documentation for `std::str::rfind`.Dan Gohman-1/+1
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-17/+9
2022-04-07Auto merge of #95760 - Dylan-DPC:rollup-uskzggh, r=Dylan-DPCbors-2/+2
2022-04-07Rollup merge of #95753 - ChayimFriedman2:patch-1, r=dtolnayDylan DPC-2/+2
2022-04-07Auto merge of #95678 - pietroalbini:pa-1.62.0-bootstrap, r=Mark-Simulacrumbors-1/+0
2022-04-07Correct safety reasoning in `str::make_ascii_{lower,upper}case()`Chayim Refael Friedman-2/+2
2022-04-06Update documentation for `trim*` and `is_whitespace` to include newlinesDeadbeef-8/+8
2022-04-05trivial cfg(bootstrap) changesPietro Albini-1/+0
2022-03-30remove now unnecessary lang itemslcnr-1/+1
2022-03-24add diagnostic items for clippy'sMax Baumann-0/+4
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-4/+4
2022-03-06Constify slice index for stringsDeadbeef-6/+30
2022-02-07Add {floor,ceil}_char_boundary methods to strltdk-10/+78
2022-02-05Optimize `core::str::Chars::count`Thom Chiovoloni-0/+1
2021-12-12doc: fix typo in commentsjapm48-4/+4
2021-10-31Rollup merge of #89786 - jkugelman:must-use-len-and-is_empty, r=joshtriplettMatthias Krüger-1/+3
2021-10-31Rollup merge of #89897 - jkugelman:must-use-core, r=joshtriplettMatthias Krüger-0/+3
2021-10-31Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtri...Matthias Krüger-0/+2
2021-10-30Add #[must_use] to len and is_emptyJohn Kugelman-1/+3
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+3
2021-10-28Fix incorrect doc linkLukas Wirth-1/+1
2021-10-12Add #[must_use] to expensive computationsJohn Kugelman-0/+2
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+4
2021-10-10Rollup merge of #89718 - jkugelman:must-use-is_condition-tests, r=joshtriplettMatthias Krüger-0/+1
2021-10-10Auto merge of #89219 - nickkuk:str_split_once_get_unchecked, r=Mark-Simulacrumbors-2/+4
2021-10-09Add #[must_use] to is_condition testsJohn Kugelman-0/+1
2021-10-09Rollup merge of #89694 - jkugelman:must-use-string-transforms, r=joshtriplettMatthias Krüger-0/+16
2021-10-09Rollup merge of #88707 - sylvestre:split_example, r=yaahcMatthias Krüger-0/+6
2021-10-09Add #[must_use] to string/char transformation methodsJohn Kugelman-0/+16
2021-10-05Use get_unchecked in str::[r]split_oncenickkuk-2/+4
2021-09-08Bump stage0 compiler to 1.56Mark Rousskov-1/+0
2021-09-06String.split_terminator: Add an example when using a slice of charsSylvestre Ledru-0/+6
2021-09-02Auto merge of #83342 - Count-Count:win-console-incomplete-utf8, r=m-ou-sebors-1/+1
2021-08-17Constified `Default` implementationsDeadbeef-1/+2
2021-07-29Fix may not to appropriate might not or must notAli Malik-4/+4