Skip to content

Commit

Permalink
chore(body): remove unnecessary let binding
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored and seanmonstar committed Dec 11, 2023
1 parent d98dcd3 commit d3cfb9e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/body/incoming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,13 @@ impl Incoming {
if !content_length.is_exact() && recv.is_end_stream() {
content_length = DecodedLength::ZERO;
}
let body = Incoming::new(Kind::H2 {

Incoming::new(Kind::H2 {
data_done: false,
ping,
content_length,
recv,
});

body
})
}

#[cfg(feature = "ffi")]
Expand Down

0 comments on commit d3cfb9e

Please sign in to comment.