diff options
author | Florian Klink <flokli@flokli.de> | 2023-01-29T16·17+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-01-30T09·45+0000 |
commit | 42d3c06988cf39f247e66ff68d624d91b39656ad (patch) | |
tree | fcac5dc144acda3fd2c1d6d82c1a64029c51730c | |
parent | 124af9e5d5909e9bca536067c276726a37aea629 (diff) |
docs(tvix/store/protos): fix docstring r/5777
Change-Id: Idf835e9648ab6c95c29960f3f8176153d4888b27 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7951 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
-rw-r--r-- | tvix/store/src/proto.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/src/proto.rs b/tvix/store/src/proto.rs index 85577975985e..706041d6a3c3 100644 --- a/tvix/store/src/proto.rs +++ b/tvix/store/src/proto.rs @@ -178,8 +178,8 @@ fn insert_once<'n>( } impl Directory { - // The size of a directory is the number of all regular and symlink elements, - // the number of directory elements, and their size fields. + /// The size of a directory is the number of all regular and symlink elements, + /// the number of directory elements, and their size fields. pub fn size(&self) -> u32 { self.files.len() as u32 + self.symlinks.len() as u32 |