We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc55d02 commit 9b71420Copy full SHA for 9b71420
1 file changed
src/app/sub.rs
@@ -197,11 +197,11 @@ where
197
record: Self::HardlinkRecord,
198
) -> Self::DeduplicationReport {
199
use std::path::{Path, PathBuf};
200
- let hardlink_info: Vec<(Size, Vec<PathBuf>)> = record
+ let hardlink_info: Box<[(Size, Vec<PathBuf>)]> = record
201
.iter()
202
.map(|values| (values.0, values.1.clone()))
203
.collect();
204
- let hardlink_info: Vec<(Size, Vec<&Path>)> = hardlink_info
+ let hardlink_info: Box<[(Size, Vec<&Path>)]> = hardlink_info
205
206
.map(|(size, paths)| (*size, paths.iter().map(AsRef::as_ref).collect()))
207
0 commit comments