@@ -401,7 +401,6 @@ where
401
401
LaneCount < N > : SupportedLaneCount ,
402
402
{
403
403
#[ inline]
404
- #[ must_use = "method returns a defaulted mask with all elements set to false (0)" ]
405
404
fn default ( ) -> Self {
406
405
Self :: splat ( false )
407
406
}
@@ -413,7 +412,6 @@ where
413
412
LaneCount < N > : SupportedLaneCount ,
414
413
{
415
414
#[ inline]
416
- #[ must_use = "method returns a new bool and does not mutate the original value" ]
417
415
fn eq ( & self , other : & Self ) -> bool {
418
416
self . 0 == other. 0
419
417
}
@@ -425,7 +423,6 @@ where
425
423
LaneCount < N > : SupportedLaneCount ,
426
424
{
427
425
#[ inline]
428
- #[ must_use = "method returns a new Ordering and does not mutate the original value" ]
429
426
fn partial_cmp ( & self , other : & Self ) -> Option < Ordering > {
430
427
self . 0 . partial_cmp ( & other. 0 )
431
428
}
@@ -451,7 +448,6 @@ where
451
448
{
452
449
type Output = Self ;
453
450
#[ inline]
454
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
455
451
fn bitand ( self , rhs : Self ) -> Self {
456
452
Self ( self . 0 & rhs. 0 )
457
453
}
@@ -464,7 +460,6 @@ where
464
460
{
465
461
type Output = Self ;
466
462
#[ inline]
467
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
468
463
fn bitand ( self , rhs : bool ) -> Self {
469
464
self & Self :: splat ( rhs)
470
465
}
@@ -477,7 +472,6 @@ where
477
472
{
478
473
type Output = Mask < T , N > ;
479
474
#[ inline]
480
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
481
475
fn bitand ( self , rhs : Mask < T , N > ) -> Mask < T , N > {
482
476
Mask :: splat ( self ) & rhs
483
477
}
@@ -490,7 +484,6 @@ where
490
484
{
491
485
type Output = Self ;
492
486
#[ inline]
493
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
494
487
fn bitor ( self , rhs : Self ) -> Self {
495
488
Self ( self . 0 | rhs. 0 )
496
489
}
@@ -503,7 +496,6 @@ where
503
496
{
504
497
type Output = Self ;
505
498
#[ inline]
506
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
507
499
fn bitor ( self , rhs : bool ) -> Self {
508
500
self | Self :: splat ( rhs)
509
501
}
@@ -516,7 +508,6 @@ where
516
508
{
517
509
type Output = Mask < T , N > ;
518
510
#[ inline]
519
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
520
511
fn bitor ( self , rhs : Mask < T , N > ) -> Mask < T , N > {
521
512
Mask :: splat ( self ) | rhs
522
513
}
@@ -529,7 +520,6 @@ where
529
520
{
530
521
type Output = Self ;
531
522
#[ inline]
532
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
533
523
fn bitxor ( self , rhs : Self ) -> Self :: Output {
534
524
Self ( self . 0 ^ rhs. 0 )
535
525
}
@@ -542,7 +532,6 @@ where
542
532
{
543
533
type Output = Self ;
544
534
#[ inline]
545
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
546
535
fn bitxor ( self , rhs : bool ) -> Self :: Output {
547
536
self ^ Self :: splat ( rhs)
548
537
}
@@ -555,7 +544,6 @@ where
555
544
{
556
545
type Output = Mask < T , N > ;
557
546
#[ inline]
558
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
559
547
fn bitxor ( self , rhs : Mask < T , N > ) -> Self :: Output {
560
548
Mask :: splat ( self ) ^ rhs
561
549
}
@@ -568,7 +556,6 @@ where
568
556
{
569
557
type Output = Mask < T , N > ;
570
558
#[ inline]
571
- #[ must_use = "method returns a new mask and does not mutate the original value" ]
572
559
fn not ( self ) -> Self :: Output {
573
560
Self ( !self . 0 )
574
561
}
0 commit comments