Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcadman committed Jul 21, 2023
1 parent 09f5a35 commit 8d44f53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,10 @@ fn expand_iter_intrinsic(
} else {
return Err(Error::NonConstantIterArgumentError);
};
for _ in 0..val.to_u16().expect("specified iteration count is too large") {
for _ in 0..val
.to_u16()
.expect("specified iteration count is too large")
{
body = TExpr {
v: Expr::Application(Box::new(iter_func.clone()), Box::new(body.clone())),
t: body.t,
Expand Down

0 comments on commit 8d44f53

Please sign in to comment.