cargo clippy
This commit is contained in:
parent
7183b5e6ce
commit
27ba6f9ede
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user