chore: fix nightly clippy warnings

This commit is contained in:
link2xt
2024-11-05 14:45:34 +00:00
committed by l
parent 10a05fa6d9
commit d2324a8fc4
4 changed files with 6 additions and 6 deletions

View File

@@ -1913,7 +1913,7 @@ async fn needs_move_to_mvbox(
&& has_chat_version
&& headers
.get_header_value(HeaderDef::AutoSubmitted)
.filter(|val| val.to_ascii_lowercase() == "auto-generated")
.filter(|val| val.eq_ignore_ascii_case("auto-generated"))
.is_some()
{
if let Some(from) = mimeparser::get_from(headers) {