Skip to content

Commit

Permalink
fix unused io amount
Browse files Browse the repository at this point in the history
  • Loading branch information
breqdev committed Dec 27, 2023
1 parent ffff580 commit 7c62e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trace/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl TraceHandler for FileTraceHandler {
fn handle(&mut self, trace: &CpuTrace) {
self
.file
.write(format!("{:04X}: {:02X}\n", trace.address, trace.opcode).as_bytes())
.write_all(format!("{:04X}: {:02X}\n", trace.address, trace.opcode).as_bytes())
.unwrap();
}

Check warning on line 22 in src/trace/file.rs

View check run for this annotation

Codecov / codecov/patch

src/trace/file.rs#L17-L22

Added lines #L17 - L22 were not covered by tests
}

0 comments on commit 7c62e39

Please sign in to comment.