diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-11-11 20:59:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-11 20:59:12 +0100 |
| commit | f311458e4241ede90f9e5833a435fc532b7d0f22 (patch) | |
| tree | ef4d01068d5326ad5a522c61175189c9c81d3485 | |
| parent | 904b658303731b238d3aa2948db65a3130f50e2e (diff) | |
| parent | 1854425758d6476a8940fba6c8a09c1a617becb1 (diff) | |
| download | rust-f311458e4241ede90f9e5833a435fc532b7d0f22.tar.gz rust-f311458e4241ede90f9e5833a435fc532b7d0f22.zip | |
Rollup merge of #78942 - eltociear:patch-1, r=jonas-schievink
Fix typo in comment occurences -> occurrences
| -rw-r--r-- | src/tools/clippy/clippy_lints/src/loops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/clippy_lints/src/loops.rs b/src/tools/clippy/clippy_lints/src/loops.rs index 32c2562ee95..5a4264f9b5c 100644 --- a/src/tools/clippy/clippy_lints/src/loops.rs +++ b/src/tools/clippy/clippy_lints/src/loops.rs @@ -3089,7 +3089,7 @@ impl<'tcx> Visitor<'tcx> for IterFunctionVisitor { } } -/// Detect the occurences of calls to `iter` or `into_iter` for the +/// Detect the occurrences of calls to `iter` or `into_iter` for the /// given identifier fn detect_iter_and_into_iters<'tcx>(block: &'tcx Block<'tcx>, identifier: Ident) -> Option<Vec<IterFunction>> { let mut visitor = IterFunctionVisitor { |
