Fix lints.

This commit is contained in:
Sebastian Schmidt 2023-04-13 14:05:02 +03:00
parent 6b649728cc
commit 94b9f1c9be
2 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,4 @@
#![feature(test)] #![feature(test)]
#![feature(bench_black_box)]
#![cfg(not(tarpaulin_include))] #![cfg(not(tarpaulin_include))]
extern crate rand; extern crate rand;

View File

@ -1551,6 +1551,7 @@ fn test_hashmap_context_clone_debug() {
.unwrap(); .unwrap();
context.set_value("variable_five".into(), 5.into()).unwrap(); context.set_value("variable_five".into(), 5.into()).unwrap();
let context = context; let context = context;
#[allow(clippy::redundant_clone)]
let cloned_context = context.clone(); let cloned_context = context.clone();
assert_eq!(format!("{:?}", &context), format!("{:?}", &cloned_context)); assert_eq!(format!("{:?}", &context), format!("{:?}", &cloned_context));