nac3core: fix typo in gen_for's comment

This commit is contained in:
lyken 2024-06-04 17:15:41 +08:00
parent fa8af37e84
commit b857f1e403
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ pub trait CodeGenerator {
gen_while(self, ctx, stmt)
}
/// Generate code for a while expression.
/// Return true if the while loop must early return
/// Generate code for a for expression.
/// Return true if the for loop must early return
fn gen_for(
&mut self,
ctx: &mut CodeGenContext<'_, '_>,