Skip to content

Commit ba229f0

Browse files
committed
Removed unused test mod
1 parent df1d9cb commit ba229f0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tokio-util/src/util/poll_buf.rs

-12
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,3 @@ pub fn poll_write_buf<T: AsyncWrite, B: Buf>(
143143

144144
Poll::Ready(Ok(n))
145145
}
146-
147-
#[cfg(test)]
148-
mod tests {
149-
150-
fn poll_read(
151-
io: &mut (dyn tokio::io::AsyncRead + Unpin),
152-
cx: &mut std::task::Context<'_>,
153-
buf: &mut impl bytes::BufMut,
154-
) {
155-
let _ = super::poll_read_buf(std::pin::Pin::new(io), cx, buf);
156-
}
157-
}

0 commit comments

Comments
 (0)