@@ -1963,7 +1963,7 @@ enum Convention {
1963
1963
StartsWith ( & ' static str ) ,
1964
1964
}
1965
1965
1966
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1966
+ #[ rustfmt:: skip ]
1967
1967
const CONVENTIONS : [ ( Convention , & [ SelfKind ] ) ; 6 ] = [
1968
1968
( Convention :: Eq ( "new" ) , & [ SelfKind :: No ] ) ,
1969
1969
( Convention :: StartsWith ( "as_" ) , & [ SelfKind :: Ref , SelfKind :: RefMut ] ) ,
@@ -1973,7 +1973,7 @@ const CONVENTIONS: [(Convention, &[SelfKind]); 6] = [
1973
1973
( Convention :: StartsWith ( "to_" ) , & [ SelfKind :: Ref ] ) ,
1974
1974
] ;
1975
1975
1976
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1976
+ #[ rustfmt:: skip ]
1977
1977
const TRAIT_METHODS : [ ( & str , usize , SelfKind , OutType , & str ) ; 30 ] = [
1978
1978
( "add" , 2 , SelfKind :: Value , OutType :: Any , "std::ops::Add" ) ,
1979
1979
( "as_mut" , 1 , SelfKind :: RefMut , OutType :: Ref , "std::convert::AsMut" ) ,
@@ -2007,7 +2007,7 @@ const TRAIT_METHODS: [(&str, usize, SelfKind, OutType, &str); 30] = [
2007
2007
( "sub" , 2 , SelfKind :: Value , OutType :: Any , "std::ops::Sub" ) ,
2008
2008
] ;
2009
2009
2010
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
2010
+ #[ rustfmt:: skip ]
2011
2011
const PATTERN_METHODS : [ ( & str , usize ) ; 17 ] = [
2012
2012
( "contains" , 1 ) ,
2013
2013
( "starts_with" , 1 ) ,
0 commit comments