Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup

This commit is contained in:
flip1995
2020-07-26 21:07:07 +02:00
parent b7c8b96e66
commit d164ab65f7
54 changed files with 849 additions and 268 deletions

View File

@@ -11,7 +11,7 @@ use rustc_ast::ast::LitKind;
use rustc_hir as hir;
declare_clippy_lint! {
/// **What it does:** Finds occurences of `Vec::resize(0, an_int)`
/// **What it does:** Finds occurrences of `Vec::resize(0, an_int)`
///
/// **Why is this bad?** This is probably an argument inversion mistake.
///