Skip to content

Commit 2bcffa4

Browse files
committed
fix typos
1 parent fe6ad91 commit 2bcffa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/functions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use utils::span_lint;
88
/// **What it does:** Check for functions with too many parameters.
99
///
1010
/// **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
1212
/// new type.
1313
///
1414
/// **Known problems:** None.
@@ -70,7 +70,7 @@ impl Functions {
7070
span_lint(cx,
7171
TOO_MANY_ARGUMENTS,
7272
span,
73-
&format!("this function has to many arguments ({}/{})", args, self.threshold));
73+
&format!("this function has too many arguments ({}/{})", args, self.threshold));
7474
}
7575
}
7676
}

0 commit comments

Comments
 (0)