Skip to content

Commit 4611e48

Browse files
committed
fix clippy
1 parent d19e8ca commit 4611e48

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

monoio/src/io/async_buf_read_ext.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use std::{
22
future::Future,
33
io::{Error, ErrorKind, Result},
4-
ops::Drop,
54
str::from_utf8,
65
};
76

monoio/src/time/driver/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Currently, rust warns when an unsafe fn contains an unsafe {} block. However,
22
// in the future, this will change to the reverse. For now, suppress this
33
// warning and generally stick with being explicit about unsafety.
4-
#![allow(unused_unsafe, unused_imports)]
4+
#![allow(unused_unsafe)]
55
#![cfg_attr(not(feature = "rt"), allow(dead_code))]
66

77
//! Time driver
@@ -16,7 +16,7 @@ mod wheel;
1616

1717
pub(super) mod sleep;
1818

19-
use std::{cell::RefCell, convert::TryInto, fmt, io, num::NonZeroU64, ptr::NonNull, rc::Rc};
19+
use std::{cell::RefCell, fmt, io, num::NonZeroU64, ptr::NonNull, rc::Rc};
2020

2121
use crate::{
2222
driver::Driver,

monoio/src/time/interval.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use std::{
2-
convert::TryInto,
32
future::Future,
43
pin::Pin,
54
task::{Context, Poll},

0 commit comments

Comments
 (0)