Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben2424 committed Jun 21, 2024
1 parent 2658bfa commit efbabbb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion h3/src/client/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ where
)));
}
self.inner.process_goaway(&mut self.recv_closing, id)?;

#[cfg(feature = "tracing")]
info!("Server initiated graceful shutdown, last: StreamId({})", id);
}
Expand Down
1 change: 0 additions & 1 deletion h3/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ impl FrameDecoder {

match decoded {
Err(frame::FrameError::UnknownFrame(_ty)) => {

#[cfg(feature = "tracing")]
trace!("ignore unknown frame type {:#x}", _ty);

Expand Down
2 changes: 1 addition & 1 deletion h3/src/qpack/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl Decoder {
while let Some(instruction) = self.parse_instruction(read)? {
#[cfg(feature = "tracing")]
trace!("instruction {:?}", instruction);

match instruction {
Instruction::Insert(field) => self.table.put(field)?,
Instruction::TableSizeUpdate(size) => {
Expand Down
2 changes: 1 addition & 1 deletion h3/src/server/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ where
#[cfg(feature = "tracing")]
trace!("Got settings > {:?}", _setting);
()

Check warning on line 373 in h3/src/server/connection.rs

View workflow job for this annotation

GitHub Actions / Lint

unneeded unit expression
},
}
&Frame::Goaway(id) => self.inner.process_goaway(&mut self.recv_closing, id)?,
_frame @ Frame::MaxPushId(_) | _frame @ Frame::CancelPush(_) => {
#[cfg(feature = "tracing")]
Expand Down

0 comments on commit efbabbb

Please sign in to comment.