File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ pub struct ScopeTree {
413413
414414 /// The number of visit_expr and visit_pat calls done in the body.
415415 /// Used to sanity check visit_expr/visit_pat call count when
416- /// calculating geneartor interiors.
416+ /// calculating generator interiors.
417417 body_expr_count : FxHashMap < hir:: BodyId , usize > ,
418418}
419419
@@ -785,7 +785,7 @@ impl<'tcx> ScopeTree {
785785
786786 /// Gives the number of expressions visited in a body.
787787 /// Used to sanity check visit_expr call count when
788- /// calculating geneartor interiors.
788+ /// calculating generator interiors.
789789 pub fn body_expr_count ( & self , body_id : hir:: BodyId ) -> Option < usize > {
790790 self . body_expr_count . get ( & body_id) . map ( |r| * r)
791791 }
You can’t perform that action at this time.
0 commit comments