File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ pub fn fields(
642642 ///Writes raw bits to the field
643643 #inline
644644 pub #unsafety fn #bits( self , value: #fty) -> & ' a mut W {
645- self . w. bits = ( self . w. bits & !( #hexmask << self . offset) ) | ( ( ( value as #rty) & #hexmask) << self . offset) ;
645+ self . w. bits = ( self . w. bits & !( #hexmask << self . offset) ) | ( ( value as #rty & #hexmask) << self . offset) ;
646646 self . w
647647 }
648648 }
@@ -652,7 +652,7 @@ pub fn fields(
652652 ///Writes raw bits to the field
653653 #inline
654654 pub #unsafety fn #bits( self , value: #fty) -> & ' a mut W {
655- self . w. bits = ( self . w. bits & !( #hexmask << #offset) ) | ( ( ( value as #rty) & #hexmask) << #offset) ;
655+ self . w. bits = ( self . w. bits & !( #hexmask << #offset) ) | ( ( value as #rty & #hexmask) << #offset) ;
656656 self . w
657657 }
658658 }
@@ -661,7 +661,7 @@ pub fn fields(
661661 ///Writes raw bits to the field
662662 #inline
663663 pub #unsafety fn #bits( self , value: #fty) -> & ' a mut W {
664- self . w. bits = ( self . w. bits & !#hexmask) | ( ( value as #rty) & #hexmask) ;
664+ self . w. bits = ( self . w. bits & !#hexmask) | ( value as #rty & #hexmask) ;
665665 self . w
666666 }
667667 }
You can’t perform that action at this time.
0 commit comments