From dbff1289b8e5aa83413226411a9d9d2ce44721e9 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 25 May 2023 11:15:42 +0300 Subject: refactor(tvix/store): drop Clone from BS and DS trait bound 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 Autosubmit: flokli Tested-by: BuildkiteCI --- tvix/store/src/store_io.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tvix/store/src/store_io.rs b/tvix/store/src/store_io.rs index ef18d93128..fb46204e50 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::::new(), false).unwrap() } -impl< - BS: BlobService + Clone, - DS: DirectoryService + Clone, - PS: PathInfoService, - NCS: NARCalculationService, - > EvalIO for TvixStoreIO +impl EvalIO + for TvixStoreIO { #[instrument(skip(self), ret, err)] fn path_exists(&self, path: &Path) -> Result { -- cgit 1.4.1