From f1349caf3f6128e53880ef7829258de27c0a4481 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 14 Apr 2024 01:02:07 +0300 Subject: refactor(tvix/castore): relax trait bounds on BlobService We don't need to clone BlobService anymore. Change-Id: I2f3b9a595f604ec0f1e081f6e90cd8b67cbb8961 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11419 Reviewed-by: Connor Brewster Tested-by: BuildkiteCI Autosubmit: flokli --- tvix/castore/src/import.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tvix/castore/src/import.rs') diff --git a/tvix/castore/src/import.rs b/tvix/castore/src/import.rs index 6aff7c8c29..e16bda1f64 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 where P: AsRef + std::fmt::Debug, - BS: AsRef + Clone, + BS: AsRef, DS: AsRef, { // 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 where - BS: AsRef + Clone, + BS: AsRef, DS: AsRef, S: Stream + std::marker::Unpin, { -- cgit 1.4.1