about summary refs log tree commit diff
path: root/tvix/castore/src/directoryservice
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-12T18·05+0200
committerclbot <clbot@tvl.fyi>2023-12-13T19·40+0000
commitd236b089162780ed1ed3bb1ef80cd4065de142f2 (patch)
tree3ba75c6c9f25ad5789c47d4d8e4c2c357724971d /tvix/castore/src/directoryservice
parent9c5c717a990a1ba427e5e76c7613034c8aabee33 (diff)
docs(tvix/castore): fix docstrings r/7214
There's been some copypasta errors.

Change-Id: I8fcad6cfc951ead6c789e0dce823c798adbfcf97
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10337
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/castore/src/directoryservice')
-rw-r--r--tvix/castore/src/directoryservice/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/castore/src/directoryservice/mod.rs b/tvix/castore/src/directoryservice/mod.rs
index 41d44078cad7..aaa0b1437f43 100644
--- a/tvix/castore/src/directoryservice/mod.rs
+++ b/tvix/castore/src/directoryservice/mod.rs
@@ -21,10 +21,10 @@ pub use self::traverse::descend_to;
 /// digest.
 #[async_trait]
 pub trait DirectoryService: Send + Sync {
-    /// Get looks up a single Directory message by its digest.
+    /// Looks up a single Directory message by its digest.
     /// In case the directory is not found, Ok(None) is returned.
     async fn get(&self, digest: &B3Digest) -> Result<Option<proto::Directory>, Error>;
-    /// Get uploads a single Directory message, and returns the calculated
+    /// Uploads a single Directory message, and returns the calculated
     /// digest, or an error.
     async fn put(&self, directory: proto::Directory) -> Result<B3Digest, Error>;