about summary refs log tree commit diff
path: root/library/core/src/str
AgeCommit message (Expand)AuthorLines
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-2/+2
2022-08-20Rollup merge of #99544 - dylni:expose-utf8lossy, r=Mark-SimulacrumMatthias Krüger-90/+160
2022-08-20Expose `Utf8Lossy` as `Utf8Chunks`dylni-90/+160
2022-08-20Fix generic bound of `SplitInclusive`'s `DoubleEndedIterator` implTim Vermeulen-1/+1
2022-08-05ascii -> ASCII in code commentXavier Noria-1/+1
2022-07-18Use split_once in FromStr docsDavid Herberth-6/+8
2022-06-19Auto merge of #97367 - WaffleLapkin:stabilize_checked_slice_to_str_conv, r=dt...bors-5/+6
2022-06-13Document an edge case of `str::split_once`Imbolc-0/+1
2022-05-26Allow some internal instabilityMaybe Waffle-0/+1
2022-05-24Stabilize checked slice->str conversion functionsMaybe Waffle-5/+5
2022-05-21Rollup merge of #97190 - SylvainDe:master, r=Dylan-DPCGuillaume Gomez-2/+6
2022-05-19Say "last" instead of "rightmost" in the documentation for `std::str::rfind`.Dan Gohman-1/+1
2022-05-19Add implicit call to from_str via parse in documentationSylvainDe-2/+6
2022-05-09Rollup merge of #96008 - fmease:warn-on-useless-doc-hidden-on-assoc-impl-item...Matthias Krüger-1/+0
2022-05-09Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errorsbors-18/+10
2022-05-08Warn on unused doc(hidden) on trait impl itemsLeón Orell Valerian Liehr-1/+0
2022-04-15Make some `usize`-typed masks definition agnostic to the size of `usize`Eduardo Sánchez Muñoz-5/+4
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-18/+10
2022-04-10Clarify str::from_utf8_unchecked's invariantsChristopher Durham-5/+1
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-17/+49
2022-02-07Add {floor,ceil}_char_boundary methods to strltdk-23/+78
2022-02-05Fix comment grammar for `do_count_chars`Thom Chiovoloni-1/+1
2022-02-05Respond to review feedback, and improve implementation somewhatThom Chiovoloni-20/+40
2022-02-05Optimize `core::str::Chars::count`Thom Chiovoloni-3/+119
2021-12-14Fix a bunch of typosFrank Steffahn-9/+9
2021-12-12doc: fix typo in commentsjapm48-4/+4
2021-12-08Delete Utf8Lossy::from_strDavid Tolnay-5/+0
2021-11-30Auto merge of #91244 - dtolnay:lossy, r=Mark-Simulacrumbors-38/+37
2021-11-26Clarify safety comment on using i to index into self.sourceDavid Tolnay-2/+8
2021-11-25Eliminate bunch of copies of error codepath from Utf8LossyChunksIterDavid Tolnay-38/+31
2021-11-25Saner formatting for UTF8_CHAR_WIDTH tableDavid Tolnay-16/+17
2021-11-21libcore: assume the input of `next_code_point` and `next_code_point_reverse` ...Eduardo Sánchez Muñoz-24/+34
2021-11-18Fill in tracking issues for `const_str_from_utf8` and `const_str_from_utf8_un...Maybe Waffle-5/+5
2021-11-18Make slice->str conversion and related functions constMaybe Waffle-21/+41
2021-10-31Auto merge of #86336 - camsteffen:char-array-pattern, r=joshtriplettbors-0/+73
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/+8
2021-10-31Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtri...Matthias Krüger-0/+7
2021-10-30Add #[must_use] to len and is_emptyJohn Kugelman-1/+3
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+8
2021-10-30Rollup merge of #90371 - Veykril:patch-2, r=jyn514Matthias Krüger-1/+1