Skip to content

Commit 995eb95

Browse files
committed
Fix TRAIT_METHODS being large const array
1 parent 26994e2 commit 995eb95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • clippy_lints/src/methods

‎clippy_lints/src/methods/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5182,7 +5182,7 @@ impl ShouldImplTraitCase {
51825182
}
51835183

51845184
#[rustfmt::skip]
5185-
constTRAIT_METHODS:[ShouldImplTraitCase;30] = [
5185+
staticTRAIT_METHODS:[ShouldImplTraitCase;30] = [
51865186
ShouldImplTraitCase::new("std::ops::Add","add",2,FN_HEADER,SelfKind::Value,OutType::Any,true),
51875187
ShouldImplTraitCase::new("std::convert::AsMut","as_mut",1,FN_HEADER,SelfKind::RefMut,OutType::Ref,true),
51885188
ShouldImplTraitCase::new("std::convert::AsRef","as_ref",1,FN_HEADER,SelfKind::Ref,OutType::Ref,true),

0 commit comments

Comments
 (0)