]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #50511 - Manishearth:must-use, r=QuietMisdreavus
authorkennytm <kennytm@gmail.com>
Wed, 9 May 2018 09:26:38 +0000 (17:26 +0800)
committerkennytm <kennytm@gmail.com>
Wed, 9 May 2018 12:29:46 +0000 (20:29 +0800)
Add some explanations for #[must_use]

`#[must_use]` can be given a string argument which is shown whilst warning for things.

We should add a string argument to most of the user-exposed ones.

I added these for everything but the operators, mostly because I'm not sure what to write there or if we need anything there.


Trivial merge