diff --git a/neqo-http3/src/connection_client.rs b/neqo-http3/src/connection_client.rs index 9a1a15b4f5..25840e91a6 100644 --- a/neqo-http3/src/connection_client.rs +++ b/neqo-http3/src/connection_client.rs @@ -4351,7 +4351,7 @@ mod tests { assert_eq!(*server.conn.state(), State::Init); let out = server.conn.process(out.as_dgram_ref(), now()); - // Check that control and qpack streams anda SETTINGS frame are received. + // Check that control and qpack streams and a SETTINGS frame are received. // Also qpack encoder stream will send "change capacity" instruction because it has // the peer settings already. server.check_control_qpack_request_streams_resumption( diff --git a/neqo-qpack/src/decoder_instructions.rs b/neqo-qpack/src/decoder_instructions.rs index 6c4cb654b0..f69f9da3ac 100644 --- a/neqo-qpack/src/decoder_instructions.rs +++ b/neqo-qpack/src/decoder_instructions.rs @@ -89,7 +89,7 @@ impl DecoderInstructionReader { /// 2) `ClosedCriticalStream` /// 3) other errors will be translated to `DecoderStream` by the caller of this function. pub fn read_instructions(&mut self, recv: &mut R) -> Res { - qdebug!([self], "read a new instraction"); + qdebug!([self], "read a new instruction"); loop { match &mut self.state { DecoderInstructionReaderState::ReadInstruction => { diff --git a/neqo-qpack/src/encoder.rs b/neqo-qpack/src/encoder.rs index f9ff8bfd1b..bf142c3e9f 100644 --- a/neqo-qpack/src/encoder.rs +++ b/neqo-qpack/src/encoder.rs @@ -129,7 +129,7 @@ impl QPackEncoder { } fn read_instructions(&mut self, conn: &mut Connection, stream_id: StreamId) -> Res<()> { - qdebug!([self], "read a new instraction"); + qdebug!([self], "read a new instruction"); loop { let mut recv = ReceiverConnWrapper::new(conn, stream_id); match self.instruction_reader.read_instructions(&mut recv) {