Skip to content

Commit 5eda448

Browse files
committed
Fix warnings in 'mithril-client'
1 parent 260ef76 commit 5eda448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-client/src/services/snapshot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ impl SnapshotService for MithrilClientSnapshotService {
209209
let unpack_dir = pathdir.join("db");
210210
let progress_bar = MultiProgress::with_draw_target(progress_target);
211211
progress_bar.println("1/7 - Checking local disk info…")?;
212-
let unpacker = SnapshotUnpacker::default();
212+
let unpacker = SnapshotUnpacker;
213213

214214
if let Err(e) = unpacker.check_prerequisites(&unpack_dir, snapshot_entity.artifact.size) {
215215
self.check_disk_space_error(e)?;

0 commit comments

Comments
 (0)