rust/library/core
Matthias Krüger 827b540424
Rollup merge of #89694 - jkugelman:must-use-string-transforms, r=joshtriplett
Add #[must_use] to string/char transformation methods

These methods could be misconstrued as modifying their arguments instead of returning new values.

Where possible I made the note recommend a method that does mutate in place.

Parent issue: #89692
2021-10-09 11:56:07 +02:00
..
benches benchmark for str.chars().count() 2021-09-11 00:25:41 +02:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #89694 - jkugelman:must-use-string-transforms, r=joshtriplett 2021-10-09 11:56:07 +02:00
tests Revert "Stabilize Iterator::intersperse()" 2021-10-07 10:39:36 -07:00
Cargo.toml rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00