Skip to content

Commit 7d39639

Browse files
committed
Import std::iter
1 parent 99f1271 commit 7d39639

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/receive_imf.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//! Internet Message Format reception pipeline.
22
33
use std::collections::HashSet;
4+
use std::iter;
45
use std::str::FromStr;
56

67
use anyhow::{Context as _, Result};
@@ -2064,7 +2065,7 @@ async fn create_group(
20642065
context
20652066
.sql
20662067
.transaction(|transaction| {
2067-
for (contact_id, ts) in std::iter::zip(
2068+
for (contact_id, ts) in iter::zip(
20682069
to_ids.iter(),
20692070
chat_group_member_timestamps.iter().take(to_ids.len()),
20702071
) {
@@ -2077,7 +2078,7 @@ async fn create_group(
20772078
)?;
20782079
}
20792080

2080-
for (contact_id, ts) in std::iter::zip(
2081+
for (contact_id, ts) in iter::zip(
20812082
past_ids.iter(),
20822083
chat_group_member_timestamps.iter().skip(to_ids.len()),
20832084
) {
@@ -2269,7 +2270,7 @@ async fn apply_group_changes(
22692270
context
22702271
.sql
22712272
.transaction(|transaction| {
2272-
for (contact_id, ts) in std::iter::zip(
2273+
for (contact_id, ts) in iter::zip(
22732274
to_ids.iter(),
22742275
chat_group_member_timestamps.iter().take(to_ids.len()),
22752276
) {
@@ -2293,7 +2294,7 @@ async fn apply_group_changes(
22932294
}
22942295
}
22952296

2296-
for (contact_id, ts) in std::iter::zip(
2297+
for (contact_id, ts) in iter::zip(
22972298
past_ids.iter(),
22982299
chat_group_member_timestamps.iter().skip(to_ids.len()),
22992300
) {

0 commit comments

Comments
 (0)