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 <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
Florian Klink 2023-12-12 20:05:48 +02:00 committed by clbot
parent 9c5c717a99
commit d236b08916

View file

@ -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>;