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 f3a390d commit 3d9adabCopy full SHA for 3d9adab
1 file changed
src/data_tree/hardlink.rs
@@ -33,7 +33,7 @@ where
33
.collect();
34
35
for (size, link_suffices) in &sub_hardlink_info {
36
- let number_of_links = link_suffices.len() as u64;
+ let number_of_links = link_suffices.len();
37
debug_assert_op!(number_of_links > 1);
38
self.size -= *size * (number_of_links - 1);
39
}
0 commit comments