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 92c314a commit c5f4345Copy full SHA for c5f4345
src/frame/headers.rs
@@ -607,7 +607,8 @@ impl Pseudo {
607
608
/// Whether it has status 1xx
609
pub(crate) fn is_informational(&self) -> bool {
610
- self.status.map_or(false, |status| status.is_informational())
+ self.status
611
+ .map_or(false, |status| status.is_informational())
612
}
613
614
src/proto/streams/recv.rs
@@ -161,9 +161,7 @@ impl Recv {
161
counts: &mut Counts,
162
) -> Result<(), RecvHeaderBlockError<Option<frame::Headers>>> {
163
tracing::trace!("opening stream; init_window={}", self.init_window_sz);
164
- let is_initial = stream
165
- .state
166
- .recv_open(frame)?;
+ let is_initial = stream.state.recv_open(frame)?;
167
168
if is_initial {
169
// TODO: be smarter about this logic
0 commit comments