]> git.lizzy.rs Git - rust.git/commit
mark comparison trait methods as #[must_use]
authorZack M. Davis <code@zackmdavis.net>
Tue, 8 Aug 2017 04:23:58 +0000 (21:23 -0700)
committerZack M. Davis <code@zackmdavis.net>
Tue, 8 Aug 2017 18:32:10 +0000 (11:32 -0700)
commitf5ac228b366b96892fb2c950fa1269d437df8360
tree80a279cf64ddb1bf86cb4864cf8082abd0eeb9b9
parent3645b0626c89ed098c121ff2215ad3ec50f44836
mark comparison trait methods as #[must_use]

Note that this doesn't actually give us warnings on `a == b;` and the like, as
some observers may have hoped.

This is in the matter of #43302.
src/libcore/cmp.rs