diff options
| author | John Kugelman <john@kugelman.name> | 2021-10-09 01:01:40 -0400 |
|---|---|---|
| committer | John Kugelman <john@kugelman.name> | 2021-10-09 01:01:40 -0400 |
| commit | 54d807cfc7f529ac1812ff1a9f4475c109f308e8 (patch) | |
| tree | e39c4a1c7867c5f69f2dd671ee2494be6fd7e6b9 /compiler/rustc_codegen_gcc/example/alloc_system.rs | |
| parent | f8751436ffce35cd1b7291b03b394166b77ff0da (diff) | |
| download | rust-54d807cfc7f529ac1812ff1a9f4475c109f308e8.tar.gz rust-54d807cfc7f529ac1812ff1a9f4475c109f308e8.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_system.rs')
0 files changed, 0 insertions, 0 deletions
