about summary refs log tree commit diff
path: root/library/core/src/str
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-7/+7
2023-03-05Auto merge of #105117 - pitaj:debug_asserts, r=the8472bors-31/+41
2023-03-04Comment for why char boundaries aren't checkedPeter Jaszkowiak-0/+6
2023-03-02Remove manual implementation of str::neKonrad Borowski-4/+0
2023-01-21debug assertions for `slice::split_at_unchecked`, `str::get_unchecked`Peter Jaszkowiak-31/+35
2023-01-14Use associated items of `char` instead of freestanding items in `core::char`Lukas Markeffsky-5/+5
2023-01-03Auto merge of #95644 - WaffleLapkin:str_split_as_str_refactor_take2, r=Amanieubors-84/+101
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-16Replace `Split*::as_str` with `remainder`Maybe Waffle-77/+93
2022-12-16SplitInternal: always set `finished` in `get_end`Maybe Waffle-7/+8
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-2/+2
2022-12-05fix dupe word typosRageking8-1/+1
2022-11-29Rollup merge of #104436 - ismailmaj:add-slice-to-stack-allocated-string-comme...Matthias Krüger-1/+1
2022-11-24Document split{_ascii,}_whitespace() for empty stringsVojtech Kral-0/+12
2022-11-22fix OOB access in SIMD impl of str.contains()The 8472-4/+6
2022-11-21type annotate &str when stack allocating a stringismailmaj-1/+1
2022-11-15- convert from core::arch to core::simdThe 8472-52/+182
2022-11-14x86_64 SSE2 fast-path for str.contains(&str) and short needlesThe 8472-0/+102
2022-10-17Fix typo in `ReverseSearcher` docsSky-1/+1
2022-10-06Fix handling of trailing bare CR in str::linesKonrad Borowski-5/+5
2022-10-06Rename LinesAnyMap to LinesMapKonrad Borowski-4/+4
2022-10-02Improve `FromStr` exampleEduardo Sánchez Muñoz-5/+9
2022-09-26remove cfg(bootstrap)Pietro Albini-4/+0
2022-09-21Add missing documentation for `bool::from_str`Guillaume Gomez-2/+2
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-0/+2
2022-08-22Move error trait into coreJane Losare-Lusby-0/+24
2022-08-21Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcmMatthias Krüger-2/+2
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-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