cargo clippy

This commit is contained in:
Pierre HUBERT 2022-04-03 17:53:57 +02:00
parent 7183b5e6ce
commit 27ba6f9ede

View File

@ -27,6 +27,7 @@ pub struct BruteForceActor {
impl BruteForceActor { impl BruteForceActor {
pub fn clean_attempts(&mut self) { pub fn clean_attempts(&mut self) {
#[allow(clippy::map_clone)]
let keys = self.failed_attempts let keys = self.failed_attempts
.keys() .keys()
.map(|i| *i) .map(|i| *i)