about summary refs log tree commit diff
path: root/library/alloc/src/string.rs
AgeCommit message (Expand)AuthorLines
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
2024-04-17Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnayMatthias Krüger-0/+4
2024-04-01doc: mention heap allocation earlier in String docsJani Mustonen-3/+3
2024-03-26Rollup merge of #122835 - compiler-errors:deref-pure, r=NadrierilMatthias Krüger-0/+3
2024-03-25Require DerefPure for patternsMichael Goulet-0/+3
2024-03-24Amended wordingReed-2/+2
2024-03-18Fix a typo in the alloc::string::String docsReed-1/+1
2024-03-08Document overrides of `clone_from()`Noa-0/+4
2024-03-01try_with_capacity for Vec, VecDeque, StringKornel-0/+13
2024-02-29Rollup merge of #120291 - pitaj:string-sliceindex, r=AmanieuJacob Pratt-88/+14
2024-02-27have `String` use `SliceIndex` impls from `str`Peter Jaszkowiak-88/+14
2024-02-26Document args returned from `String::into_raw_parts`许杰友 Jieyou Xu (Joe)-1/+1
2024-02-26Rearrange `String::from_raw_parts` doc argument order to match code argument ...许杰友 Jieyou Xu (Joe)-1/+1
2024-02-22On type error of method call arguments, look at confusables for suggestionEsteban Küber-0/+1
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+3
2023-10-11Rollup merge of #95967 - CAD97:from-utf16, r=dtolnayAli MJ Al-Nasrawy-0/+150
2023-10-05Add more diagnostic items for clippyJason Newcomb-0/+1
2023-09-29fix char importsChristopher Durham-6/+6
2023-09-28add str_from_utf16_endian tracking issueChristopher Durham-4/+4
2023-09-28style nitsChristopher Durham-6/+6
2023-09-28Add feature(str_from_utf16_endian)CAD97-0/+150
2023-08-02string.rs: remove "Basic usage" textTshepang Mbambo-72/+1
2023-07-24Hide `ToString` implementations that specialize the default onesFrank Steffahn-0/+9
2023-07-21Demonstrate multibyte character removal in String::pop and String::remove doc...Andrew Tribick-8/+8
2023-07-12Replace version placeholder to 1.72Mark Rousskov-1/+1
2023-06-14Rollup merge of #109814 - est31:stabilize_string_leak, r=AmanieuMatthias Krüger-7/+8
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-1/+1
2023-05-28Stabilize String::leakest31-7/+8
2023-05-27Rollup merge of #111656 - finnbear:string_leak_unbounded_lifetime, r=AmanieuMatthias Krüger-2/+2