Merge branch 'master' of github.com:rust-lang-nursery/rust-clippy

This commit is contained in:
cgm616 2017-10-22 10:14:44 -04:00
commit 29626b883e
3 changed files with 13 additions and 12 deletions

View file

@ -1561,7 +1561,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ImplicitHasher {
cx,
IMPLICIT_HASHER,
target.span(),
&format!("impl for `{}` should be generarized over different hashers", target.type_name()),
&format!("impl for `{}` should be generalized over different hashers", target.type_name()),
move |db| {
suggestion(cx, db, generics.span, generics_suggestion_span, target, ctr_vis);
},
@ -1595,7 +1595,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ImplicitHasher {
IMPLICIT_HASHER,
target.span(),
&format!(
"parameter of type `{}` should be generarized over different hashers",
"parameter of type `{}` should be generalized over different hashers",
target.type_name()
),
move |db| {