forked from M-Labs/nac3
nac3core: fix typo in gen_for's comment
This commit is contained in:
parent
fa8af37e84
commit
b857f1e403
@ -143,8 +143,8 @@ pub trait CodeGenerator {
|
|||||||
gen_while(self, ctx, stmt)
|
gen_while(self, ctx, stmt)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Generate code for a while expression.
|
/// Generate code for a for expression.
|
||||||
/// Return true if the while loop must early return
|
/// Return true if the for loop must early return
|
||||||
fn gen_for(
|
fn gen_for(
|
||||||
&mut self,
|
&mut self,
|
||||||
ctx: &mut CodeGenContext<'_, '_>,
|
ctx: &mut CodeGenContext<'_, '_>,
|
||||||
|
Loading…
Reference in New Issue
Block a user