mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
chore: Beta clippy suggestions (#6271)
Already apply rust beta (1.84) clippy suggestions now, before they let CI fail in 6 weeks. The newly used functions are available since 1.70, our MSRV is 1.77, so we can use them.
This commit is contained in:
@@ -671,7 +671,7 @@ impl MimeMessage {
|
||||
&& self
|
||||
.parts
|
||||
.get(1)
|
||||
.map_or(false, |filepart| match filepart.typ {
|
||||
.is_some_and(|filepart| match filepart.typ {
|
||||
Viewtype::Image
|
||||
| Viewtype::Gif
|
||||
| Viewtype::Sticker
|
||||
|
||||
Reference in New Issue
Block a user