Skip to content

Commit 3d9adab

Browse files
committed
refactor: remove unnecessary cast
1 parent f3a390d commit 3d9adab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/data_tree/hardlink.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ where
3333
.collect();
3434

3535
for (size, link_suffices) in &sub_hardlink_info {
36-
let number_of_links = link_suffices.len() as u64;
36+
let number_of_links = link_suffices.len();
3737
debug_assert_op!(number_of_links > 1);
3838
self.size -= *size * (number_of_links - 1);
3939
}

0 commit comments

Comments
 (0)