about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-05-25T08·15+0300
committerclbot <clbot@tvl.fyi>2023-05-30T10·13+0000
commitdbff1289b8e5aa83413226411a9d9d2ce44721e9 (patch)
treef76a10baafe9c7f0ee5365e06a3616e62cab34f6
parentb492067c198bcba86f1aebb071753b2a17ea1471 (diff)
refactor(tvix/store): drop Clone from BS and DS trait bound r/6220
We don't need to be able to clone these services in here.

Change-Id: Ifb69450f7ebdc8364cbf9cdfb6464f8560440e4c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8645
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
-rw-r--r--tvix/store/src/store_io.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/tvix/store/src/store_io.rs b/tvix/store/src/store_io.rs
index ef18d9312868..fb46204e505f 100644
--- a/tvix/store/src/store_io.rs
+++ b/tvix/store/src/store_io.rs
@@ -183,12 +183,8 @@ fn calculate_nar_based_store_path(nar_sha256_digest: &[u8; 32], name: &str) -> S
     build_regular_ca_path(name, &nar_hash_with_mode, Vec::<String>::new(), false).unwrap()
 }
 
-impl<
-        BS: BlobService + Clone,
-        DS: DirectoryService + Clone,
-        PS: PathInfoService,
-        NCS: NARCalculationService,
-    > EvalIO for TvixStoreIO<BS, DS, PS, NCS>
+impl<BS: BlobService, DS: DirectoryService, PS: PathInfoService, NCS: NARCalculationService> EvalIO
+    for TvixStoreIO<BS, DS, PS, NCS>
 {
     #[instrument(skip(self), ret, err)]
     fn path_exists(&self, path: &Path) -> Result<bool, io::Error> {