File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use utils::span_lint;
8
8
/// **What it does:** Check for functions with too many parameters.
9
9
///
10
10
/// **Why is this bad?** Functions with lots of parameters are considered bad style and reduce
11
- /// readability (“what does the 5th parameter means ?”). Consider grouping some parameters into a
11
+ /// readability (“what does the 5th parameter mean ?”). Consider grouping some parameters into a
12
12
/// new type.
13
13
///
14
14
/// **Known problems:** None.
@@ -70,7 +70,7 @@ impl Functions {
70
70
span_lint ( cx,
71
71
TOO_MANY_ARGUMENTS ,
72
72
span,
73
- & format ! ( "this function has to many arguments ({}/{})" , args, self . threshold) ) ;
73
+ & format ! ( "this function has too many arguments ({}/{})" , args, self . threshold) ) ;
74
74
}
75
75
}
76
76
}
You can’t perform that action at this time.
0 commit comments