Skip to content

Commit 7fe51eb

Browse files
committed
refactor: remove unnecessary trait bound
1 parent 1005565 commit 7fe51eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/data_tree/hardlink.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ use super::DataTree;
22
use crate::size;
33
use assert_cmp::debug_assert_op;
44
use rayon::prelude::*;
5-
use std::{ffi::OsStr, ops::Mul, path::Path};
5+
use std::{ffi::OsStr, path::Path};
66

77
impl<Name, Size> DataTree<Name, Size>
88
where
99
Self: Send,
1010
Name: AsRef<OsStr>,
11-
Size: size::Size + Mul<u64, Output = Size> + Sync,
11+
Size: size::Size + Sync,
1212
{
1313
/// Reduce the size of the directories that have hardlinks.
1414
pub fn par_deduplicate_hardlinks(&mut self, hardlink_info: &[(Size, Vec<&Path>)]) {

0 commit comments

Comments
 (0)