about summary refs log tree commit diff
path: root/tvix/store/src
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-09T11·11+0200
committerclbot <clbot@tvl.fyi>2023-12-09T12·58+0000
commitf9ff4fe96903ba69999da02157791814816fd6d8 (patch)
tree6a217faee5ecb2f8ea12a21a3f9757e973d2eec3 /tvix/store/src
parentf4c4e320404ec2ba9992352b7ecb40e19c2f31d7 (diff)
refactor(store/fs): address clippy r/7138
Change-Id: I28d60263ef672942940656caa8e0f9d20cc6b7d7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10231
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store/src')
-rw-r--r--tvix/store/src/fs/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/fs/tests.rs b/tvix/store/src/fs/tests.rs
index 7b69d2fc0c14..a3977c727505 100644
--- a/tvix/store/src/fs/tests.rs
+++ b/tvix/store/src/fs/tests.rs
@@ -871,7 +871,7 @@ async fn check_attributes() {
     assert_eq!(fixtures::BLOB_A.len() as u64, metadata_file.len());
     // directories should have their "size" as filesize
     assert_eq!(
-        fixtures::DIRECTORY_WITH_KEEP.size() as u64,
+        { fixtures::DIRECTORY_WITH_KEEP.size() },
         metadata_directory.size()
     );