about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-13T22·02+0300
committerclbot <clbot@tvl.fyi>2024-04-15T14·47+0000
commitf1349caf3f6128e53880ef7829258de27c0a4481 (patch)
tree3e58d0957eabfd20469042ac9518eb64b8407d97 /tvix
parent9498ac936e8eadebfac55d5e54a6c16852953e07 (diff)
refactor(tvix/castore): relax trait bounds on BlobService r/7929
We don't need to clone BlobService anymore.

Change-Id: I2f3b9a595f604ec0f1e081f6e90cd8b67cbb8961
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11419
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix')
-rw-r--r--tvix/castore/src/import.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/castore/src/import.rs b/tvix/castore/src/import.rs
index 6aff7c8c296e..e16bda1f6489 100644
--- a/tvix/castore/src/import.rs
+++ b/tvix/castore/src/import.rs
@@ -140,7 +140,7 @@ pub async fn ingest_path<'a, BS, DS, P>(
 ) -> Result<Node, Error>
 where
     P: AsRef<Path> + std::fmt::Debug,
-    BS: AsRef<dyn BlobService> + Clone,
+    BS: AsRef<dyn BlobService>,
     DS: AsRef<dyn DirectoryService>,
 {
     // produce the leveled-key vector of DirEntry.
@@ -204,7 +204,7 @@ pub async fn ingest_entries<'a, BS, DS, S>(
     #[allow(unused_mut)] mut direntry_stream: S,
 ) -> Result<Node, Error>
 where
-    BS: AsRef<dyn BlobService> + Clone,
+    BS: AsRef<dyn BlobService>,
     DS: AsRef<dyn DirectoryService>,
     S: Stream<Item = DirEntry> + std::marker::Unpin,
 {