Skip to content

Commit 1367f25

Browse files
committed
Auto merge of rust-lang#5814 - giraffate:fix_typo, r=flip1995
Fix typo changelog: none
2 parents 57678c8 + e5105e8 commit 1367f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/vec_resize_to_zero.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use rustc_ast::ast::LitKind;
1111
use rustc_hir as hir;
1212

1313
declare_clippy_lint! {
14-
/// **What it does:** Finds occurences of `Vec::resize(0, an_int)`
14+
/// **What it does:** Finds occurrences of `Vec::resize(0, an_int)`
1515
///
1616
/// **Why is this bad?** This is probably an argument inversion mistake.
1717
///

0 commit comments

Comments
 (0)