Skip to content

Commit 77ce6e7

Browse files
committed
QL: Clippy fixes
1 parent a59215f commit 77ce6e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ql/extractor/src/bin/extractor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ fn main() -> std::io::Result<()> {
176176
&code_ranges,
177177
)
178178
}
179-
std::fs::create_dir_all(&src_archive_file.parent().unwrap())?;
179+
std::fs::create_dir_all(src_archive_file.parent().unwrap())?;
180180
std::fs::copy(&path, &src_archive_file)?;
181181
write_trap(&trap_dir, path, &trap_writer, trap_compression)
182182
})
@@ -195,7 +195,7 @@ fn write_trap(
195195
trap_compression: trap::Compression,
196196
) -> std::io::Result<()> {
197197
let trap_file = path_for(trap_dir, &path, trap_compression.extension());
198-
std::fs::create_dir_all(&trap_file.parent().unwrap())?;
198+
std::fs::create_dir_all(trap_file.parent().unwrap())?;
199199
trap_writer.write_to_file(&trap_file, trap_compression)
200200
}
201201

0 commit comments

Comments
 (0)