Skip to content

Commit 0a6211b

Browse files
committed
fix ci clippy check
1 parent 46c921f commit 0a6211b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

monoio-compat/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub type UnixStreamCompat = StreamWrapper<monoio::net::UnixStream>;
2121

2222
#[cfg(test)]
2323
mod tests {
24-
use crate::{AsyncReadExt, AsyncWriteExt, TcpStreamCompat, TcpStreamCompatUnsafe};
24+
2525

2626
#[monoio::test_all]
2727
async fn test_rw() {

monoio/src/driver/op.rs

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ pub(crate) trait OpAble {
6161

6262
/// If legacy is enabled and iouring is not, we can expose io interface in a poll-like way.
6363
/// This can provide better compatibility for crates programmed in poll-like way.
64+
#[allow(dead_code)]
6465
#[cfg(any(feature = "legacy", feature = "poll-io"))]
6566
pub(crate) trait PollLegacy {
6667
#[cfg(feature = "legacy")]

0 commit comments

Comments
 (0)