mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 13:40:55 -04:00
chore: Fix a clippy warning about a useless conversion
This commit is contained in:
@@ -1629,7 +1629,7 @@ impl StateStore for SqliteStateStore {
|
||||
(self.encode_key(keys::DISPLAY_NAME, normalized), display_name)
|
||||
});
|
||||
|
||||
iter::once(raw).chain(normalized.into_iter())
|
||||
iter::once(raw).chain(normalized)
|
||||
})
|
||||
.collect::<BTreeMap<_, _>>();
|
||||
let names = names_map.keys().cloned().collect();
|
||||
|
||||
Reference in New Issue
Block a user