We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 904b658 + 1854425 commit f311458Copy full SHA for f311458
src/tools/clippy/clippy_lints/src/loops.rs
@@ -3089,7 +3089,7 @@ impl<'tcx> Visitor<'tcx> for IterFunctionVisitor {
3089
}
3090
3091
3092
-/// Detect the occurences of calls to `iter` or `into_iter` for the
+/// Detect the occurrences of calls to `iter` or `into_iter` for the
3093
/// given identifier
3094
fn detect_iter_and_into_iters<'tcx>(block: &'tcx Block<'tcx>, identifier: Ident) -> Option<Vec<IterFunction>> {
3095
let mut visitor = IterFunctionVisitor {
0 commit comments