crypto: Fix a clippy warning.
parent
c3eb4d8106
commit
b97e3d7bae
|
@ -1092,7 +1092,7 @@ impl OlmMachine {
|
||||||
|
|
||||||
messages
|
messages
|
||||||
.entry(device.user_id().clone())
|
.entry(device.user_id().clone())
|
||||||
.or_insert(BTreeMap::new())
|
.or_insert_with(BTreeMap::new)
|
||||||
.insert(
|
.insert(
|
||||||
DeviceIdOrAllDevices::DeviceId(device.device_id().into()),
|
DeviceIdOrAllDevices::DeviceId(device.device_id().into()),
|
||||||
serde_json::value::to_raw_value(&encrypted)?,
|
serde_json::value::to_raw_value(&encrypted)?,
|
||||||
|
|
Loading…
Reference in New Issue