about summary refs log tree commit diff
path: root/tvix/store/src/proto.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/proto.rs')
-rw-r--r--tvix/store/src/proto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/proto.rs b/tvix/store/src/proto.rs
index fc7fa1eff9a1..a01f09fa8fd2 100644
--- a/tvix/store/src/proto.rs
+++ b/tvix/store/src/proto.rs
@@ -220,7 +220,7 @@ impl Directory {
             + self
                 .directories
                 .iter()
-                .fold(0, |acc: u32, e| (acc + 1 + e.size) as u32)
+                .fold(0, |acc: u32, e| (acc + 1 + e.size))
     }
 
     /// Calculates the digest of a Directory, which is the blake3 hash of a