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 {
9494}
9595
9696impl From < bool > for Finiteness {
97- #[ must_use]
9897 fn from ( b : bool ) -> Self {
9998 if b { Infinite } else { Finite }
10099 }
Original file line number Diff line number Diff line change @@ -351,21 +351,18 @@ pub enum FullInt {
351351}
352352
353353impl PartialEq for FullInt {
354- #[ must_use]
355354 fn eq ( & self , other : & Self ) -> bool {
356355 self . cmp ( other) == Ordering :: Equal
357356 }
358357}
359358
360359impl PartialOrd for FullInt {
361- #[ must_use]
362360 fn partial_cmp ( & self , other : & Self ) -> Option < Ordering > {
363361 Some ( self . cmp ( other) )
364362 }
365363}
366364
367365impl Ord for FullInt {
368- #[ must_use]
369366 fn cmp ( & self , other : & Self ) -> Ordering {
370367 use FullInt :: { S , U } ;
371368
You can’t perform that action at this time.
0 commit comments