We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe6ad91 commit 2bcffa4Copy full SHA for 2bcffa4
src/functions.rs
@@ -8,7 +8,7 @@ use utils::span_lint;
8
/// **What it does:** Check for functions with too many parameters.
9
///
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
+/// readability (“what does the 5th parameter mean?”). Consider grouping some parameters into a
12
/// new type.
13
14
/// **Known problems:** None.
@@ -70,7 +70,7 @@ impl Functions {
70
span_lint(cx,
71
TOO_MANY_ARGUMENTS,
72
span,
73
- &format!("this function has to many arguments ({}/{})", args, self.threshold));
+ &format!("this function has too many arguments ({}/{})", args, self.threshold));
74
}
75
76
0 commit comments