rust/library
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
..
alloc Add #[must_use] to string/char transformation methods 2021-10-09 01:01:40 -04:00
backtrace@cc89bb66f9
core Rollup merge of #89694 - jkugelman:must-use-string-transforms, r=joshtriplett 2021-10-09 11:56:07 +02:00
panic_abort
panic_unwind
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #89694 - jkugelman:must-use-string-transforms, r=joshtriplett 2021-10-09 11:56:07 +02:00
stdarch@5fdbc476af
test Rollup merge of #89082 - smoelius:master, r=kennytm 2021-10-07 20:26:12 -07:00
unwind