@@ -1963,7 +1963,7 @@ enum Convention {
19631963 StartsWith ( & ' static str ) ,
19641964}
19651965
1966- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1966+ #[ rustfmt:: skip ]
19671967const CONVENTIONS : [ ( Convention , & [ SelfKind ] ) ; 6 ] = [
19681968 ( Convention :: Eq ( "new" ) , & [ SelfKind :: No ] ) ,
19691969 ( Convention :: StartsWith ( "as_" ) , & [ SelfKind :: Ref , SelfKind :: RefMut ] ) ,
@@ -1973,7 +1973,7 @@ const CONVENTIONS: [(Convention, &[SelfKind]); 6] = [
19731973 ( Convention :: StartsWith ( "to_" ) , & [ SelfKind :: Ref ] ) ,
19741974] ;
19751975
1976- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
1976+ #[ rustfmt:: skip ]
19771977const TRAIT_METHODS : [ ( & str , usize , SelfKind , OutType , & str ) ; 30 ] = [
19781978 ( "add" , 2 , SelfKind :: Value , OutType :: Any , "std::ops::Add" ) ,
19791979 ( "as_mut" , 1 , SelfKind :: RefMut , OutType :: Ref , "std::convert::AsMut" ) ,
@@ -2007,7 +2007,7 @@ const TRAIT_METHODS: [(&str, usize, SelfKind, OutType, &str); 30] = [
20072007 ( "sub" , 2 , SelfKind :: Value , OutType :: Any , "std::ops::Sub" ) ,
20082008] ;
20092009
2010- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
2010+ #[ rustfmt:: skip ]
20112011const PATTERN_METHODS : [ ( & str , usize ) ; 17 ] = [
20122012 ( "contains" , 1 ) ,
20132013 ( "starts_with" , 1 ) ,
0 commit comments