summary refs log tree commit diff
path: root/library/alloc/src/string.rs
AgeCommit message (Expand)AuthorLines
2025-03-31replace version placeholderBoxy-10/+10
2025-03-08Stabilize `const_vec_string_slice`Martin Habovstiak-8/+9
2025-03-07Fully test the alloc crate through alloctestsbjorn3-21/+9
2025-03-07Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35Matthias Krüger-4/+2
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-4/+2
2025-03-05Rollup merge of #137569 - aDotInTheVoid:for-iurii, r=ibraheemdev许杰友 Jieyou Xu (Joe)-2/+1
2025-02-24Rollup merge of #136775 - robertbastian:patch-2, r=AmanieuTrevor Gross-5/+2
2025-02-24Stablize `string_extend_from_within`Alona Enraght-Moony-2/+1
2025-02-24Update string.rsRobert Bastian-2/+2
2025-02-19Rollup merge of #132268 - elichai:string_try_from_vec, r=AmanieuMatthias Krüger-0/+18
2025-02-19Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-seMatthias Krüger-3/+5
2025-02-16add MAX_LEN_UTF8 and MAX_LEN_UTF16 constantsHTGAzureX1212-3/+5
2025-02-09Update string.rsRobert Bastian-5/+2
2025-02-08Implement Extend<AsciiChar> for StringMatthew Zeitlin-0/+26
2025-01-31Update encode_utf16 to mention it is native endianMarijn Schouten-8/+8
2024-12-22Impl String::into_charstison-2/+185
2024-12-13Remove support for specializing ToString outside the standard librarybjorn3-37/+32
2024-12-05Fixed another broken testElias Holzmann-2/+2
2024-12-05Added struct `fmt::FormattingOptions`Elias Holzmann-1/+2
2024-11-17alloc: fix `String`'s docYutaro Ohno-1/+1
2024-10-28Impl TryFrom<Vec<u8>> for StringElichai Turkel-0/+18
2024-10-17Auto merge of #130223 - LaihoE:faster_str_replace, r=thomccbors-1/+6
2024-10-07Rollup merge of #128399 - mammothbane:master, r=Amanieu,tgross35Stuart Cook-13/+25
2024-10-06liballoc: introduce String, Vec const-slicingNathan Perry-13/+25
2024-09-23Add fast path for ascii to ascii in str::replaceLaiho-1/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-21Rollup merge of #130408 - okaneco:into_lossy_refactor, r=NoratriebMichael Goulet-1/+25
2024-09-20Avoid re-validating UTF-8 in `FromUtf8Error::into_utf8_lossy`okaneco-1/+25
2024-09-19[Clippy] Swap `unnecessary_owned_empty_strings` to use diagnostic item instea...GnomedDev-0/+1
2024-09-19[Clippy] Swap `unnecessary_to_owned` to use diagnostic item instead of pathGnomedDev-0/+1
2024-09-19[Clippy] Swap `single_char_add_str`/`format_push_string` to use diagnostic it...GnomedDev-0/+2
2024-09-19[Clippy] Swap `option_as_ref_deref` to use diagnostic items instead of pathsGnomedDev-0/+2
2024-09-15Rollup merge of #129439 - okaneco:vec_string_lossy, r=NoratriebMatthias Krüger-0/+74
2024-09-09Add missing `#[allow(missing_docs)]` on hack functions in allocUrgau-0/+1
2024-08-31Fix `elided_named_lifetimes` in codePavel Grigorenko-1/+1
2024-08-22Implement feature `string_from_utf8_lossy_owned`okaneco-0/+74
2024-08-07alloc: make `to_string_str!` a bit less complexMichael Howell-22/+35
2024-08-06alloc: add ToString specialization for `&&str`Michael Howell-8/+35
2024-08-03Rollup merge of #127586 - zachs18:more-must-use, r=cuviperMatthias Krüger-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+1
2024-07-15Remove generic lifetime parameter of trait `Pattern`Benoît du Garreau-12/+15
2024-07-10Clarify/add `must_use` messages for more `into_raw*` functions of `alloc` types.Zachary S-1/+1
2024-07-06Mitigate focused memory leaks in `alloc` doctests for Miri.Zachary S-0/+3
2024-05-19Auto merge of #99969 - calebsander:feature/collect-box-str, r=dtolnaybors-4/+6
2024-05-18Clarify how String::leak and into_boxed_str differJon Gjengset-5/+7
2024-05-05alloc: implement FromIterator for Box<str>Caleb Sander-4/+6
2024-04-27WS fix.JirCep-1/+1
2024-04-27String.truncate calls Vec.truncate, in turn, and that statesJirCep-1/+1
2024-04-26Auto merge of #123909 - dtolnay:utf8chunks, r=joboetbors-3/+1
2024-04-24Stabilize Utf8ChunksDavid Tolnay-3/+1