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(
889
889
enum_items. push ( quote ! {
890
890
/// Returns `true` if the bit is clear (0)
891
891
#[ inline( always) ]
892
- pub fn is_bit_clear ( & self ) -> bool {
892
+ pub fn bit_is_clear ( & self ) -> bool {
893
893
!self . #bits( )
894
894
}
895
895
896
896
/// Returns `true` if the bit is set (1)
897
897
#[ inline( always) ]
898
- pub fn is_bit_set ( & self ) -> bool {
898
+ pub fn bit_is_set ( & self ) -> bool {
899
899
self . #bits( )
900
900
}
901
901
} ) ;
@@ -1014,13 +1014,13 @@ pub fn fields(
1014
1014
pc_r_impl_items. push ( quote ! {
1015
1015
/// Returns `true` if the bit is clear (0)
1016
1016
#[ inline( always) ]
1017
- pub fn is_bit_clear ( & self ) -> bool {
1017
+ pub fn bit_is_clear ( & self ) -> bool {
1018
1018
!self . #bits( )
1019
1019
}
1020
1020
1021
1021
/// Returns `true` if the bit is set (1)
1022
1022
#[ inline( always) ]
1023
- pub fn is_bit_set ( & self ) -> bool {
1023
+ pub fn bit_is_set ( & self ) -> bool {
1024
1024
self . #bits( )
1025
1025
}
1026
1026
} ) ;
Original file line number Diff line number Diff line change @@ -96,8 +96,6 @@ impl ToSanitizedSnakeCase for str {
96
96
where ,
97
97
while ,
98
98
yield,
99
- bit_set,
100
- bit_clear,
101
99
set_bit,
102
100
clear_bit,
103
101
bit,
You can’t perform that action at this time.
0 commit comments