Fix lints.
This commit is contained in:
parent
6b649728cc
commit
94b9f1c9be
@ -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;
|
||||||
|
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user