Skip to content

Commit f311458

Browse files
Rollup merge of #78942 - eltociear:patch-1, r=jonas-schievink
Fix typo in comment occurences -> occurrences
2 parents 904b658 + 1854425 commit f311458

File tree

1 file changed

+1
-1
lines changed
  • src/tools/clippy/clippy_lints/src

1 file changed

+1
-1
lines changed

src/tools/clippy/clippy_lints/src/loops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3089,7 +3089,7 @@ impl<'tcx> Visitor<'tcx> for IterFunctionVisitor {
30893089
}
30903090
}
30913091

3092-
/// Detect the occurences of calls to `iter` or `into_iter` for the
3092+
/// Detect the occurrences of calls to `iter` or `into_iter` for the
30933093
/// given identifier
30943094
fn detect_iter_and_into_iters<'tcx>(block: &'tcx Block<'tcx>, identifier: Ident) -> Option<Vec<IterFunction>> {
30953095
let mut visitor = IterFunctionVisitor {

0 commit comments

Comments
 (0)