Skip to content

Commit

Permalink
change while line to for line due to format checking
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahanxie353 committed Dec 17, 2024
1 parent 3300c40 commit cdcfb9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calyx-backend/src/verilog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ impl Backend for VerilogBackend {
if cmd.status.success() {
// Post-process morty output
let stdout = String::from_utf8_lossy(&cmd.stdout);
let mut lines = stdout.lines();
let lines = stdout.lines();
let mut skip_next_line = false;

while let Some(line) = lines.next() {
for line in lines {
if skip_next_line {
skip_next_line = false;
continue;
Expand Down

0 comments on commit cdcfb9c

Please sign in to comment.