Skip to content

Commit d3cfb9e

Browse files
tottotoseanmonstar
authored andcommitted
chore(body): remove unnecessary let binding
1 parent d98dcd3 commit d3cfb9e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/body/incoming.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,13 @@ impl Incoming {
141141
if !content_length.is_exact() && recv.is_end_stream() {
142142
content_length = DecodedLength::ZERO;
143143
}
144-
let body = Incoming::new(Kind::H2 {
144+
145+
Incoming::new(Kind::H2 {
145146
data_done: false,
146147
ping,
147148
content_length,
148149
recv,
149-
});
150-
151-
body
150+
})
152151
}
153152

154153
#[cfg(feature = "ffi")]

0 commit comments

Comments
 (0)