crypto: Remove an unused enumerate.
parent
86617b42e2
commit
1e3f93ca22
|
@ -992,10 +992,7 @@ impl OlmMachine {
|
||||||
|
|
||||||
let mut message_vec = Vec::new();
|
let mut message_vec = Vec::new();
|
||||||
|
|
||||||
for (i, user_map_chunk) in user_map
|
for user_map_chunk in user_map.chunks(OlmMachine::MAX_TO_DEVICE_MESSAGES) {
|
||||||
.chunks(OlmMachine::MAX_TO_DEVICE_MESSAGES)
|
|
||||||
.enumerate()
|
|
||||||
{
|
|
||||||
let mut messages = HashMap::new();
|
let mut messages = HashMap::new();
|
||||||
|
|
||||||
for (session, device) in user_map_chunk {
|
for (session, device) in user_map_chunk {
|
||||||
|
|
Loading…
Reference in New Issue