Skip to content

Commit

Permalink
fix unimported trace!
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnarMorrigan committed Jan 16, 2024
1 parent 7e97cae commit 40be420
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tokio/stream/read_half.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ use crate::{
packets::{error::ReadBytes, FixedHeader, Packet},
};

#[cfg(feature = "logs")]
use tracing::trace;

#[derive(Debug)]
pub struct ReadStream<S> {
stream: ReadHalf<S>,
Expand Down
3 changes: 3 additions & 0 deletions src/tokio/stream/write_half.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ use tokio::io::{AsyncWriteExt, WriteHalf};

use crate::{error::ConnectionError, packets::Packet};

#[cfg(feature = "logs")]
use tracing::trace;

#[derive(Debug)]
pub struct WriteStream<S> {
pub stream: WriteHalf<S>,
Expand Down

0 comments on commit 40be420

Please sign in to comment.