Clippy fixes

This commit is contained in:
mdecimus
2025-01-11 11:43:45 +01:00
parent dc19f20285
commit 3612d5fc5d
67 changed files with 131 additions and 140 deletions

View File

@@ -102,7 +102,7 @@ impl HttpLimitResponse for Response {
async fn bytes_with_limit(self, limit: usize) -> reqwest::Result<Option<Vec<u8>>> {
if self
.content_length()
.map_or(false, |len| len as usize > limit)
.is_some_and(|len| len as usize > limit)
{
return Ok(None);
}