diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-09 11:56:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-09 11:56:07 +0200 |
| commit | 827b540424cbd820ff7510083e65983dbe802b78 (patch) | |
| tree | 96855ab8d1cd7a324891cf47fbc5ac16fd110612 /compiler/rustc_data_structures/src | |
| parent | ee804594c8385c769dfde983a9ba455999a2f83e (diff) | |
| parent | 2ec7588aa1a00c1f2287ee84a0d552f344746333 (diff) | |
| download | rust-827b540424cbd820ff7510083e65983dbe802b78.tar.gz rust-827b540424cbd820ff7510083e65983dbe802b78.zip | |
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
Diffstat (limited to 'compiler/rustc_data_structures/src')
0 files changed, 0 insertions, 0 deletions
