@@ -401,7 +401,6 @@ where
401401 LaneCount < N > : SupportedLaneCount ,
402402{
403403 #[ inline]
404- #[ must_use = "method returns a defaulted mask with all elements set to false (0)" ]
405404 fn default ( ) -> Self {
406405 Self :: splat ( false )
407406 }
@@ -413,7 +412,6 @@ where
413412 LaneCount < N > : SupportedLaneCount ,
414413{
415414 #[ inline]
416- #[ must_use = "method returns a new bool and does not mutate the original value" ]
417415 fn eq ( & self , other : & Self ) -> bool {
418416 self . 0 == other. 0
419417 }
@@ -425,7 +423,6 @@ where
425423 LaneCount < N > : SupportedLaneCount ,
426424{
427425 #[ inline]
428- #[ must_use = "method returns a new Ordering and does not mutate the original value" ]
429426 fn partial_cmp ( & self , other : & Self ) -> Option < Ordering > {
430427 self . 0 . partial_cmp ( & other. 0 )
431428 }
@@ -451,7 +448,6 @@ where
451448{
452449 type Output = Self ;
453450 #[ inline]
454- #[ must_use = "method returns a new mask and does not mutate the original value" ]
455451 fn bitand ( self , rhs : Self ) -> Self {
456452 Self ( self . 0 & rhs. 0 )
457453 }
@@ -464,7 +460,6 @@ where
464460{
465461 type Output = Self ;
466462 #[ inline]
467- #[ must_use = "method returns a new mask and does not mutate the original value" ]
468463 fn bitand ( self , rhs : bool ) -> Self {
469464 self & Self :: splat ( rhs)
470465 }
@@ -477,7 +472,6 @@ where
477472{
478473 type Output = Mask < T , N > ;
479474 #[ inline]
480- #[ must_use = "method returns a new mask and does not mutate the original value" ]
481475 fn bitand ( self , rhs : Mask < T , N > ) -> Mask < T , N > {
482476 Mask :: splat ( self ) & rhs
483477 }
@@ -490,7 +484,6 @@ where
490484{
491485 type Output = Self ;
492486 #[ inline]
493- #[ must_use = "method returns a new mask and does not mutate the original value" ]
494487 fn bitor ( self , rhs : Self ) -> Self {
495488 Self ( self . 0 | rhs. 0 )
496489 }
@@ -503,7 +496,6 @@ where
503496{
504497 type Output = Self ;
505498 #[ inline]
506- #[ must_use = "method returns a new mask and does not mutate the original value" ]
507499 fn bitor ( self , rhs : bool ) -> Self {
508500 self | Self :: splat ( rhs)
509501 }
@@ -516,7 +508,6 @@ where
516508{
517509 type Output = Mask < T , N > ;
518510 #[ inline]
519- #[ must_use = "method returns a new mask and does not mutate the original value" ]
520511 fn bitor ( self , rhs : Mask < T , N > ) -> Mask < T , N > {
521512 Mask :: splat ( self ) | rhs
522513 }
@@ -529,7 +520,6 @@ where
529520{
530521 type Output = Self ;
531522 #[ inline]
532- #[ must_use = "method returns a new mask and does not mutate the original value" ]
533523 fn bitxor ( self , rhs : Self ) -> Self :: Output {
534524 Self ( self . 0 ^ rhs. 0 )
535525 }
@@ -542,7 +532,6 @@ where
542532{
543533 type Output = Self ;
544534 #[ inline]
545- #[ must_use = "method returns a new mask and does not mutate the original value" ]
546535 fn bitxor ( self , rhs : bool ) -> Self :: Output {
547536 self ^ Self :: splat ( rhs)
548537 }
@@ -555,7 +544,6 @@ where
555544{
556545 type Output = Mask < T , N > ;
557546 #[ inline]
558- #[ must_use = "method returns a new mask and does not mutate the original value" ]
559547 fn bitxor ( self , rhs : Mask < T , N > ) -> Self :: Output {
560548 Mask :: splat ( self ) ^ rhs
561549 }
@@ -568,7 +556,6 @@ where
568556{
569557 type Output = Mask < T , N > ;
570558 #[ inline]
571- #[ must_use = "method returns a new mask and does not mutate the original value" ]
572559 fn not ( self ) -> Self :: Output {
573560 Self ( !self . 0 )
574561 }
0 commit comments