@@ -1821,7 +1821,7 @@ enum Convention {
1821
1821
StartsWith ( & ' static str ) ,
1822
1822
}
1823
1823
1824
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1824
+ #[ rustfmt:: skip ]
1825
1825
const CONVENTIONS : [ ( Convention , & [ SelfKind ] ) ; 6 ] = [
1826
1826
( Convention :: Eq ( "new" ) , & [ SelfKind :: No ] ) ,
1827
1827
( Convention :: StartsWith ( "as_" ) , & [ SelfKind :: Ref , SelfKind :: RefMut ] ) ,
@@ -1831,7 +1831,7 @@ const CONVENTIONS: [(Convention, &[SelfKind]); 6] = [
1831
1831
( Convention :: StartsWith ( "to_" ) , & [ SelfKind :: Ref ] ) ,
1832
1832
] ;
1833
1833
1834
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1834
+ #[ rustfmt:: skip ]
1835
1835
const TRAIT_METHODS : [ ( & str , usize , SelfKind , OutType , & str ) ; 30 ] = [
1836
1836
( "add" , 2 , SelfKind :: Value , OutType :: Any , "std::ops::Add" ) ,
1837
1837
( "as_mut" , 1 , SelfKind :: RefMut , OutType :: Ref , "std::convert::AsMut" ) ,
@@ -1865,7 +1865,7 @@ const TRAIT_METHODS: [(&str, usize, SelfKind, OutType, &str); 30] = [
1865
1865
( "sub" , 2 , SelfKind :: Value , OutType :: Any , "std::ops::Sub" ) ,
1866
1866
] ;
1867
1867
1868
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1868
+ #[ rustfmt:: skip ]
1869
1869
const PATTERN_METHODS : [ ( & str , usize ) ; 17 ] = [
1870
1870
( "contains" , 1 ) ,
1871
1871
( "starts_with" , 1 ) ,
0 commit comments