Skip to content

Commit 9b71420

Browse files
committed
feat: shrink to fit
1 parent cc55d02 commit 9b71420

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/sub.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ where
197197
record: Self::HardlinkRecord,
198198
) -> Self::DeduplicationReport {
199199
use std::path::{Path, PathBuf};
200-
let hardlink_info: Vec<(Size, Vec<PathBuf>)> = record
200+
let hardlink_info: Box<[(Size, Vec<PathBuf>)]> = record
201201
.iter()
202202
.map(|values| (values.0, values.1.clone()))
203203
.collect();
204-
let hardlink_info: Vec<(Size, Vec<&Path>)> = hardlink_info
204+
let hardlink_info: Box<[(Size, Vec<&Path>)]> = hardlink_info
205205
.iter()
206206
.map(|(size, paths)| (*size, paths.iter().map(AsRef::as_ref).collect()))
207207
.collect();

0 commit comments

Comments
 (0)