mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
Fix clippy errors (#2973)
This commit is contained in:
@@ -1328,8 +1328,7 @@ async fn build_body_file(
|
|||||||
"video_{}.{}",
|
"video_{}.{}",
|
||||||
chrono::Utc
|
chrono::Utc
|
||||||
.timestamp(msg.timestamp_sort, 0)
|
.timestamp(msg.timestamp_sort, 0)
|
||||||
.format("%Y-%m-%d_%H-%M-%S")
|
.format("%Y-%m-%d_%H-%M-%S"),
|
||||||
.to_string(),
|
|
||||||
&suffix
|
&suffix
|
||||||
),
|
),
|
||||||
_ => blob.as_file_name().to_string(),
|
_ => blob.as_file_name().to_string(),
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ impl Smtp {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for recipients_chunk in recipients.chunks(chunk_size).into_iter() {
|
for recipients_chunk in recipients.chunks(chunk_size) {
|
||||||
let recipients_display = recipients_chunk
|
let recipients_display = recipients_chunk
|
||||||
.iter()
|
.iter()
|
||||||
.map(|x| x.as_ref())
|
.map(|x| x.as_ref())
|
||||||
|
|||||||
Reference in New Issue
Block a user