Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Heliozoa committed Sep 9, 2024
1 parent 52457c4 commit 37ca7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ fn print_result_test(

fn print_logs(io: &mut Io, logs: &HashMap<String, String>) -> anyhow::Result<()> {
let mut logs = logs
.into_iter()
.iter()
// filter out empty log entries to reduce clutter
.filter(|(_, logs)| !logs.is_empty())
.collect::<Vec<_>>();
Expand Down

0 comments on commit 37ca7eb

Please sign in to comment.