summary refs log tree commit diff
path: root/library/core/src/str
AgeCommit message (Expand)AuthorLines
2023-10-02Bump version placeholdersMark Rousskov-1/+1
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-0/+2
2023-09-01Const-stabilize `is_ascii`Scott McMurray-1/+1
2023-08-22Replace version placeholders with 1.73.0Mark Rousskov-1/+1
2023-08-22Auto merge of #113365 - dima74:diralik/add-deprecated-suggestions, r=workingj...bors-1/+1
2023-08-21Add `suggestion` for some `#[deprecated]` itemsDmitry Murzin-1/+1
2023-08-15Auto merge of #112387 - clarfonthey:non-panicking-ceil-char-boundary, r=m-ou-sebors-4/+3
2023-08-15Fix typo.Mara Bos-1/+1
2023-08-06Add #[rustc_never_returns_null_ptr] to std functionsest31-0/+2
2023-07-31Work around missing <*str>::lenMatt Fellenz-4/+4
2023-07-31impl SliceIndex<str> for (Bound<usize>, Bound<usize>)Matt Fellenz-0/+52
2023-07-30Rollup merge of #113512 - vallentin:lines-doc, r=workingjubileefee1-dead-3/+8
2023-07-26Fix URL for `rmatches`Veera-1/+1
2023-07-21Clarify logic on bytes:code units ratioAndrew Tribick-2/+4
2023-07-20Fix size_hint for EncodeUtf16Andrew Tribick-5/+14
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+3
2023-07-09Updated lines doc to include trailing carriage return notevallentin-3/+8
2023-06-26str docs: remove "Basic usage" text where not usefulTshepang Mbambo-40/+0
2023-06-07Don't panic in ceil_char_boundaryltdk-4/+3
2023-05-27Add invalid_from_utf8 analogous to invalid_from_utf8_uncheckedUrgau-0/+2
2023-05-27Uplift clippy::invalid_utf8_in_unchecked as invalid_from_utf8_uncheckedUrgau-0/+2
2023-05-14Fix some misleading and copy-pasted `Pattern` examplesScott McMurray-4/+4
2023-05-04Constify `[u8]::is_ascii` (unstably)Scott McMurray-2/+3
2023-05-03Add the basic `ascii::Char` typeScott McMurray-0/+11
2023-04-16core is now compilableDeadbeef-13/+5
2023-04-16rm const traits in libcoreDeadbeef-18/+15
2023-04-10Fix typos in libraryDaniPopes-1/+1
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