From d236b089162780ed1ed3bb1ef80cd4065de142f2 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 12 Dec 2023 20:05:48 +0200 Subject: [PATCH] docs(tvix/castore): fix docstrings There's been some copypasta errors. Change-Id: I8fcad6cfc951ead6c789e0dce823c798adbfcf97 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10337 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: grfn --- tvix/castore/src/directoryservice/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tvix/castore/src/directoryservice/mod.rs b/tvix/castore/src/directoryservice/mod.rs index 41d44078c..aaa0b1437 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, 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;