Skip to content

Commit

Permalink
Removed unused test mod
Browse files Browse the repository at this point in the history
  • Loading branch information
tglane committed Mar 28, 2024
1 parent df1d9cb commit ba229f0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tokio-util/src/util/poll_buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,3 @@ pub fn poll_write_buf<T: AsyncWrite, B: Buf>(

Poll::Ready(Ok(n))
}

#[cfg(test)]
mod tests {

fn poll_read(
io: &mut (dyn tokio::io::AsyncRead + Unpin),
cx: &mut std::task::Context<'_>,
buf: &mut impl bytes::BufMut,
) {
let _ = super::poll_read_buf(std::pin::Pin::new(io), cx, buf);
}
}

0 comments on commit ba229f0

Please sign in to comment.