about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-17 14:33:05 +0000
committerbors <bors@rust-lang.org>2020-07-17 14:33:05 +0000
commit1367f25fbf3e152aac66c88616258500b69b030f (patch)
tree39dca0fa82fe0de77d9fb2134dcaf774b279bf19
parent57678c8315e339308fb0d1b205aaa413cd120e15 (diff)
parente5105e82d31b254a81f38fbf38a8043ba41bee3a (diff)
Auto merge of #5814 - giraffate:fix_typo, r=flip1995
Fix typo

changelog: none
-rw-r--r--clippy_lints/src/vec_resize_to_zero.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/vec_resize_to_zero.rs b/clippy_lints/src/vec_resize_to_zero.rs
index cc5e21a7ca6..7f90aedf161 100644
--- a/clippy_lints/src/vec_resize_to_zero.rs
+++ b/clippy_lints/src/vec_resize_to_zero.rs
@@ -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.
     ///