fix(tvix/castore): B3Digest::{to_vec -> as_slice}

Not a single call site actually makes use of the Vec.

Change-Id: I6cf31073c9f443d1702a21937a0c3938c2c643b8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9988
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
edef 2023-11-07 12:09:37 +00:00
parent 9f5b1213f9
commit a8e7f4eadb
7 changed files with 17 additions and 19 deletions

View file

@ -167,8 +167,7 @@ impl super::blob_service_server::BlobService for GRPCBlobServiceWrapper {
warn!("error closing stream: {}", e);
Status::internal("error closing stream")
})
.await?
.to_vec();
.await?;
Ok(Response::new(super::PutBlobResponse {
digest: digest.into(),