File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -889,13 +889,13 @@ pub fn fields(
889889 enum_items. push ( quote ! {
890890 /// Returns `true` if the bit is clear (0)
891891 #[ inline( always) ]
892- pub fn is_bit_clear ( & self ) -> bool {
892+ pub fn bit_is_clear ( & self ) -> bool {
893893 !self . #bits( )
894894 }
895895
896896 /// Returns `true` if the bit is set (1)
897897 #[ inline( always) ]
898- pub fn is_bit_set ( & self ) -> bool {
898+ pub fn bit_is_set ( & self ) -> bool {
899899 self . #bits( )
900900 }
901901 } ) ;
@@ -1014,13 +1014,13 @@ pub fn fields(
10141014 pc_r_impl_items. push ( quote ! {
10151015 /// Returns `true` if the bit is clear (0)
10161016 #[ inline( always) ]
1017- pub fn is_bit_clear ( & self ) -> bool {
1017+ pub fn bit_is_clear ( & self ) -> bool {
10181018 !self . #bits( )
10191019 }
10201020
10211021 /// Returns `true` if the bit is set (1)
10221022 #[ inline( always) ]
1023- pub fn is_bit_set ( & self ) -> bool {
1023+ pub fn bit_is_set ( & self ) -> bool {
10241024 self . #bits( )
10251025 }
10261026 } ) ;
Original file line number Diff line number Diff line change @@ -96,8 +96,6 @@ impl ToSanitizedSnakeCase for str {
9696 where ,
9797 while ,
9898 yield,
99- bit_set,
100- bit_clear,
10199 set_bit,
102100 clear_bit,
103101 bit,
You can’t perform that action at this time.
0 commit comments