rust/library/std
the8472 a1bdd48106
Rollup merge of #89796 - jkugelman:must-use-non-mutating-verb-methods, r=joshtriplett
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```
2021-10-12 14:53:10 +02:00
..
benches
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #89796 - jkugelman:must-use-non-mutating-verb-methods, r=joshtriplett 2021-10-12 14:53:10 +02:00
tests
build.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
Cargo.toml Update libc to 0.2.103. 2021-10-06 14:33:13 +00:00