diff --git a/tvix/castore/src/import.rs b/tvix/castore/src/import.rs index 6aff7c8c2..e16bda1f6 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, {