Skip to content

Commit 070f8d6

Browse files
committed
Fix some warnings
1 parent efbf5b2 commit 070f8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ impl Builder {
311311
// Pad to nearest block size
312312
{
313313
const BLOCK_SIZE: u64 = 512;
314-
use std::fs::{File, OpenOptions};
315-
let mut file = OpenOptions::new()
314+
use std::fs::OpenOptions;
315+
let file = OpenOptions::new()
316316
.write(true)
317317
.open(&output_bin_path)
318318
.map_err(|err| CreateBootimageError::Io {

0 commit comments

Comments
 (0)