@@ -1955,7 +1955,7 @@ enum Convention {
1955
1955
StartsWith ( & ' static str ) ,
1956
1956
}
1957
1957
1958
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1958
+ #[ rustfmt:: skip ]
1959
1959
const CONVENTIONS : [ ( Convention , & [ SelfKind ] ) ; 6 ] = [
1960
1960
( Convention :: Eq ( "new" ) , & [ SelfKind :: No ] ) ,
1961
1961
( Convention :: StartsWith ( "as_" ) , & [ SelfKind :: Ref , SelfKind :: RefMut ] ) ,
@@ -1965,7 +1965,7 @@ const CONVENTIONS: [(Convention, &[SelfKind]); 6] = [
1965
1965
( Convention :: StartsWith ( "to_" ) , & [ SelfKind :: Ref ] ) ,
1966
1966
] ;
1967
1967
1968
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1968
+ #[ rustfmt:: skip ]
1969
1969
const TRAIT_METHODS : [ ( & str , usize , SelfKind , OutType , & str ) ; 30 ] = [
1970
1970
( "add" , 2 , SelfKind :: Value , OutType :: Any , "std::ops::Add" ) ,
1971
1971
( "as_mut" , 1 , SelfKind :: RefMut , OutType :: Ref , "std::convert::AsMut" ) ,
@@ -1999,7 +1999,7 @@ const TRAIT_METHODS: [(&str, usize, SelfKind, OutType, &str); 30] = [
1999
1999
( "sub" , 2 , SelfKind :: Value , OutType :: Any , "std::ops::Sub" ) ,
2000
2000
] ;
2001
2001
2002
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
2002
+ #[ rustfmt:: skip ]
2003
2003
const PATTERN_METHODS : [ ( & str , usize ) ; 17 ] = [
2004
2004
( "contains" , 1 ) ,
2005
2005
( "starts_with" , 1 ) ,
0 commit comments