From 42d3c06988cf39f247e66ff68d624d91b39656ad Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 29 Jan 2023 17:17:01 +0100 Subject: docs(tvix/store/protos): fix docstring Change-Id: Idf835e9648ab6c95c29960f3f8176153d4888b27 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7951 Reviewed-by: tazjin Tested-by: BuildkiteCI --- tvix/store/src/proto.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tvix/store/src/proto.rs b/tvix/store/src/proto.rs index 8557797598..706041d6a3 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 -- cgit 1.4.1