From 94b9f1c9bef1e0f63e0b953674d32e73ac9c363a Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Thu, 13 Apr 2023 14:05:02 +0300 Subject: [PATCH] Fix lints. --- benches/benchs.rs | 1 - tests/integration.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/benchs.rs b/benches/benchs.rs index f573002..cab2ee0 100644 --- a/benches/benchs.rs +++ b/benches/benchs.rs @@ -1,5 +1,4 @@ #![feature(test)] -#![feature(bench_black_box)] #![cfg(not(tarpaulin_include))] extern crate rand; diff --git a/tests/integration.rs b/tests/integration.rs index 43f8e81..6748fe3 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -1551,6 +1551,7 @@ fn test_hashmap_context_clone_debug() { .unwrap(); context.set_value("variable_five".into(), 5.into()).unwrap(); let context = context; + #[allow(clippy::redundant_clone)] let cloned_context = context.clone(); assert_eq!(format!("{:?}", &context), format!("{:?}", &cloned_context));