docs(tvix/store): make upload_chunk docs a docstring

Change-Id: I6794e2a69b4907ab8d9ed2d55335c11db2c30c02
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8250
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
This commit is contained in:
Florian Klink 2023-03-10 22:57:44 +01:00 committed by clbot
parent ead113cdfc
commit 2dc93f8de2

View file

@ -4,7 +4,7 @@ use crate::Error;
use super::ChunkService;
// upload a chunk to the chunk service, and return its digest (or an error) when done.
/// uploads a chunk to a chunk service, and returns its digest (or an error) when done.
#[instrument(skip_all, err)]
pub fn upload_chunk<CS: ChunkService>(
chunk_service: &CS,