We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[must_use]
1 parent f3515fb commit eeaf5afCopy full SHA for eeaf5af
src/tools/clippy/clippy_utils/src/consts.rs
@@ -351,21 +351,18 @@ pub enum FullInt {
351
}
352
353
impl PartialEq for FullInt {
354
- #[must_use]
355
fn eq(&self, other: &Self) -> bool {
356
self.cmp(other) == Ordering::Equal
357
358
359
360
impl PartialOrd for FullInt {
361
362
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
363
Some(self.cmp(other))
364
365
366
367
impl Ord for FullInt {
368
369
fn cmp(&self, other: &Self) -> Ordering {
370
use FullInt::{S, U};
371
0 commit comments