Skip to content

Commit c5f4345

Browse files
committed
rustfmt :/
1 parent 92c314a commit c5f4345

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/frame/headers.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,8 @@ impl Pseudo {
607607

608608
/// Whether it has status 1xx
609609
pub(crate) fn is_informational(&self) -> bool {
610-
self.status.map_or(false, |status| status.is_informational())
610+
self.status
611+
.map_or(false, |status| status.is_informational())
611612
}
612613
}
613614

src/proto/streams/recv.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,7 @@ impl Recv {
161161
counts: &mut Counts,
162162
) -> Result<(), RecvHeaderBlockError<Option<frame::Headers>>> {
163163
tracing::trace!("opening stream; init_window={}", self.init_window_sz);
164-
let is_initial = stream
165-
.state
166-
.recv_open(frame)?;
164+
let is_initial = stream.state.recv_open(frame)?;
167165

168166
if is_initial {
169167
// TODO: be smarter about this logic

0 commit comments

Comments
 (0)