Skip to content

Commit 40f44b4

Browse files
committed
chore: clippy
1 parent 98e06c5 commit 40f44b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/lib/incoming_body.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl Body for IncomingBody {
5656
}
5757

5858
fn is_end_stream(&self) -> bool {
59-
self.0.as_ref().map_or(true, Body::is_end_stream)
59+
self.0.as_ref().is_none_or(Body::is_end_stream)
6060
}
6161

6262
fn size_hint(&self) -> SizeHint {

0 commit comments

Comments
 (0)