crypto: Fix some clippy warnings.
parent
fa1a40543c
commit
0d2f8c6d0f
|
@ -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 New Issue