chore: Remove some clippy complains for 1.95 (#44276)

This removes some complains that clippy will have in 1.95.
As this is mostly just match guards, it doesn't update MSRV.

Testing: This is equivalent exchanges, so current WPT would find
anything.

---------

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
Narfinger
2026-04-17 21:55:17 +02:00
committed by GitHub
parent 62f9971a87
commit a908081352
10 changed files with 51 additions and 72 deletions

View File

@@ -439,7 +439,7 @@ impl FetchResponseListener for PosterFrameFetchContext {
let status_is_ok = metadata
.as_ref()
.map_or(true, |m| m.status.in_range(200..300));
.is_none_or(|m| m.status.in_range(200..300));
if !status_is_ok {
self.cancelled = true;