Rollup merge of #78942 - eltociear:patch-1, r=jonas-schievink
Fix typo in comment occurences -> occurrences
This commit is contained in:
commit
f311458e42
@ -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
|
/// given identifier
|
||||||
fn detect_iter_and_into_iters<'tcx>(block: &'tcx Block<'tcx>, identifier: Ident) -> Option<Vec<IterFunction>> {
|
fn detect_iter_and_into_iters<'tcx>(block: &'tcx Block<'tcx>, identifier: Ident) -> Option<Vec<IterFunction>> {
|
||||||
let mut visitor = IterFunctionVisitor {
|
let mut visitor = IterFunctionVisitor {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user