mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
a1bdd48106
Add #[must_use] to non-mutating verb methods These are methods that could be misconstrued to mutate their input, similar to #89694. I gave each one a different custom message. I wrote that `upgrade` and `downgrade` don't modify the input pointers. Logically they don't, but technically they do... Parent issue: #89692 r? ```@joshtriplett``` |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |