Skip to content

Commit 1854425

Browse files
authored
Fix typo in comment
occurences -> occurrences
1 parent 38030ff commit 1854425

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)