We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ce976 commit 5d64f32Copy full SHA for 5d64f32
http-body-util/src/limited.rs
@@ -122,7 +122,7 @@ mod tests {
122
hint.set_upper(0);
123
assert_eq!(body.size_hint().upper(), hint.upper());
124
125
- assert!(matches!(body.frame().await, None));
+ assert!(body.frame().await.is_none());
126
}
127
128
#[tokio::test]
@@ -207,7 +207,7 @@ mod tests {
207
208
209
210
211
212
213
struct SomeTrailers;
0 commit comments