Fix linting errors

pull/2140/head
Robert Long 8 months ago
parent 4eaab42baf
commit e503a77cfb
No known key found for this signature in database

@ -401,7 +401,7 @@ pub(crate) async fn fetch_read_body<R: Runtime>(
match chunk {
Ok(bytes) => {
// Skip empty chunks
if bytes.len() > 0 {
if !bytes.is_empty() {
channel.send(&bytes)?;
}
}

Loading…
Cancel
Save