File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ impl Finiteness {
94
94
}
95
95
96
96
impl From < bool > for Finiteness {
97
- #[ must_use]
98
97
fn from ( b : bool ) -> Self {
99
98
if b { Infinite } else { Finite }
100
99
}
Original file line number Diff line number Diff line change @@ -351,21 +351,18 @@ pub enum FullInt {
351
351
}
352
352
353
353
impl PartialEq for FullInt {
354
- #[ must_use]
355
354
fn eq ( & self , other : & Self ) -> bool {
356
355
self . cmp ( other) == Ordering :: Equal
357
356
}
358
357
}
359
358
360
359
impl PartialOrd for FullInt {
361
- #[ must_use]
362
360
fn partial_cmp ( & self , other : & Self ) -> Option < Ordering > {
363
361
Some ( self . cmp ( other) )
364
362
}
365
363
}
366
364
367
365
impl Ord for FullInt {
368
- #[ must_use]
369
366
fn cmp ( & self , other : & Self ) -> Ordering {
370
367
use FullInt :: { S , U } ;
371
368
You can’t perform that action at this time.
0 commit comments