Skip to content

Commit

Permalink
refactor: remove another for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ProspectPyxis committed Jan 6, 2023
1 parent 53de88d commit 44fa79b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,7 @@ pub fn print_all_fetches(
writeln!(&mut stdout)?;
}

for _ in 0..conf.padding_lines {
writeln!(&mut stdout)?;
}
write!(&mut stdout, "{}", "\n".repeat(conf.padding_lines))?;

Ok(())
}

0 comments on commit 44fa79b

Please sign in to comment.