refactor(tvix/castore/fs): add parenthesis for readability

As suggested in cl/11426.

Change-Id: Ic2bb8cf2838bf0be09fb8bc62b8e598a3d153699
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11434
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
This commit is contained in:
Florian Klink 2024-04-15 16:12:43 +03:00 committed by clbot
parent b025a30d27
commit d1da9f5c84

View file

@ -480,7 +480,7 @@ where
let written = add_entry(fuse_backend_rs::api::filesystem::DirEntry {
ino,
offset: offset + i as u64 + 1,
offset: offset + (i as u64) + 1,
type_: inode_data.as_fuse_type(),
name: &name,
})?;
@ -502,7 +502,7 @@ where
// the second parameter will become the "offset" parameter on the next call.
let written = add_entry(fuse_backend_rs::api::filesystem::DirEntry {
ino,
offset: offset + i as u64 + 1,
offset: offset + (i as u64) + 1,
type_: inode_data.as_fuse_type(),
name: &name,
})?;
@ -568,7 +568,7 @@ where
let written = add_entry(
fuse_backend_rs::api::filesystem::DirEntry {
ino,
offset: offset + i as u64 + 1,
offset: offset + (i as u64) + 1,
type_: inode_data.as_fuse_type(),
name: &name,
},
@ -593,7 +593,7 @@ where
let written = add_entry(
fuse_backend_rs::api::filesystem::DirEntry {
ino,
offset: offset + i as u64 + 1,
offset: offset + (i as u64) + 1,
type_: inode_data.as_fuse_type(),
name: &name,
},