From c75b0d08ce8fcf6f1e21fc090b2c4541575c485f Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 17 Aug 2024 12:21:00 +0300 Subject: chore(tvix/glue): drop some explicit allow(clippy::mutable_key_type) This is covered by clippy.toml these days. Change-Id: I2330af5781844d5f9d975793d770efcea48d371b Reviewed-on: https://cl.tvl.fyi/c/depot/+/12223 Tested-by: BuildkiteCI Autosubmit: flokli Reviewed-by: Connor Brewster --- tvix/glue/src/tvix_build.rs | 1 - tvix/glue/src/tvix_store_io.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/tvix/glue/src/tvix_build.rs b/tvix/glue/src/tvix_build.rs index b466ff458f6e..ae01351503f2 100644 --- a/tvix/glue/src/tvix_build.rs +++ b/tvix/glue/src/tvix_build.rs @@ -36,7 +36,6 @@ const NIX_ENVIRONMENT_VARS: [(&str, &str); 12] = [ /// (`fn_input_sources_to_node`) /// - one translating a tuple of drv path and (a subset of their) output names to /// castore nodes of the selected outpus (`fn_input_drvs_to_output_nodes`). -#[allow(clippy::mutable_key_type)] pub(crate) fn derivation_to_build_request( derivation: &Derivation, inputs: BTreeMap, diff --git a/tvix/glue/src/tvix_store_io.rs b/tvix/glue/src/tvix_store_io.rs index b18e6633731d..0e12c261f575 100644 --- a/tvix/glue/src/tvix_store_io.rs +++ b/tvix/glue/src/tvix_store_io.rs @@ -198,7 +198,6 @@ impl TvixStoreIO { // derivation_to_build_request needs castore nodes for all inputs. // Provide them, which means, here is where we recursively build // all dependencies. - #[allow(clippy::mutable_key_type)] let mut inputs: BTreeMap = futures::stream::iter(drv.input_derivations.iter()) .map(|(input_drv_path, output_names)| { @@ -257,7 +256,6 @@ impl TvixStoreIO { .await?; // FUTUREWORK: merge these who things together - #[allow(clippy::mutable_key_type)] // add input sources let input_sources: BTreeMap<_, _> = futures::stream::iter(drv.input_sources.iter()) -- cgit 1.4.1