message: Use matches! in http3::TransactionClient::has_data_to_send()
  Add a comment.
diff: @@ -10,7 +10,7 @@ use crate::client_events::Http3ClientEvents;
  use crate::connection::Http3Transaction;
  use crate::response_stream::ResponseStream;
  use crate::Header;
  -use neqo_common::{qinfo, Encoder};
  +use neqo_common::{matches, qinfo, Encoder};
  use neqo_qpack::decoder::QPackDecoder;
  use neqo_qpack::encoder::QPackEncoder;
  use neqo_transport::Connection;
  @@ -270,12 +270,11 @@ impl Http3Transaction for TransactionClient {
  self.response_stream.receive(conn, decoder)
  }
  + // TransactionClient owns headers and sends them. This method returns if
  + // they're still being sent. Request body (if any) is sent by http client
  + // afterwards using `send_request_body` after receiving DataWritable event.
  fn has_data_to_send(&self) -> bool {
  - if let TransactionSendState::SendingHeaders { .. } = self.send_state {
  - true
  - } else {
  - false
  - }
  + matches!(self.send_state, TransactionSendState::SendingHeaders { .. } )
  }
  fn reset_receiving_side(&mut self) {
  