crypto: Fix some clippy warnings.
This commit is contained in:
parent
fa1a40543c
commit
0d2f8c6d0f
2 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,7 @@ impl CryptoStore for MemoryStore {
|
|||
}
|
||||
|
||||
fn users_for_key_query(&self) -> HashSet<UserId> {
|
||||
#[allow(clippy::map_clone)]
|
||||
self.users_for_key_query.iter().map(|u| u.clone()).collect()
|
||||
}
|
||||
|
||||
|
|
|
@ -825,6 +825,7 @@ impl CryptoStore for SqliteStore {
|
|||
}
|
||||
|
||||
fn users_for_key_query(&self) -> HashSet<UserId> {
|
||||
#[allow(clippy::map_clone)]
|
||||
self.users_for_key_query.iter().map(|u| u.clone()).collect()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue