diff options
author | Florian Klink <flokli@flokli.de> | 2024-02-01T11·29+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-02-02T08·55+0000 |
commit | 459a564ff1ea9d004b06d8000bc8b3b532ce347b (patch) | |
tree | 4c45e6ff26a48a51715b55f3051a1351188ad33b /tvix/castore | |
parent | a73adfe7e44ecf161db2d103ad535d138a4a1272 (diff) |
refactor(tvix/castore/blobsvc/combinator): compact trait bounds r/7465
BlobService already implies Send and Sync, we don't need to explicitly list it here. Change-Id: I58a4c5912be61a60acd961565979aa01d94ee0f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10727 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/castore')
-rw-r--r-- | tvix/castore/src/blobservice/combinator.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tvix/castore/src/blobservice/combinator.rs b/tvix/castore/src/blobservice/combinator.rs index caa04fb35d96..d75cad62a629 100644 --- a/tvix/castore/src/blobservice/combinator.rs +++ b/tvix/castore/src/blobservice/combinator.rs @@ -99,10 +99,11 @@ fn make_chunked_reader<BS>( // as it'd add a lifetime to BlobReader in general, which will get // problematic in TvixStoreFs, which is using async move closures and cloning. blob_service: BS, + // A list of b3 digests for individual chunks, and their sizes. chunks: Vec<(B3Digest, u64)>, ) -> Box<dyn BlobReader> where - BS: BlobService + Clone + Send + Sync + 'static, + BS: BlobService + Clone + 'static, { // TODO: offset, verified streaming |