We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38030ff commit 1854425Copy full SHA for 1854425
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