chore: fix clippy warnings

This commit is contained in:
link2xt
2026-03-24 11:23:53 +01:00
committed by l
parent 2637c3bea4
commit ebe8550c52
8 changed files with 22 additions and 38 deletions

View File

@@ -879,8 +879,7 @@ UPDATE config SET value=? WHERE keyname='configured_addr' AND value!=?1
let instance = if mime_parser
.parts
.first()
.filter(|part| part.typ == Viewtype::Webxdc)
.is_some()
.is_some_and(|part| part.typ == Viewtype::Webxdc)
{
can_info_msg = false;
Some(