diff options
| author | surechen <chenshuo17@huawei.com> | 2023-11-10 10:11:24 +0800 | 
|---|---|---|
| committer | surechen <chenshuo17@huawei.com> | 2023-12-10 10:56:22 +0800 | 
| commit | 40ae34194c586eea3614d3216322053d2e8e7b37 (patch) | |
| tree | 2f783001d0356467f126d3420e5b94446fb36fde /library/std/src/net/tcp/tests.rs | |
| parent | 8cd8d313690260e6cacc280b93710d62d4ffefb0 (diff) | |
| download | rust-40ae34194c586eea3614d3216322053d2e8e7b37.tar.gz rust-40ae34194c586eea3614d3216322053d2e8e7b37.zip  | |
remove redundant imports
detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
Diffstat (limited to 'library/std/src/net/tcp/tests.rs')
| -rw-r--r-- | library/std/src/net/tcp/tests.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/tcp/tests.rs b/library/std/src/net/tcp/tests.rs index db367cfa0f7..b24b851a645 100644 --- a/library/std/src/net/tcp/tests.rs +++ b/library/std/src/net/tcp/tests.rs @@ -1,6 +1,6 @@ use crate::fmt; use crate::io::prelude::*; -use crate::io::{BorrowedBuf, ErrorKind, IoSlice, IoSliceMut}; +use crate::io::{BorrowedBuf, IoSlice, IoSliceMut}; use crate::mem::MaybeUninit; use crate::net::test::{next_test_ip4, next_test_ip6}; use crate::net::*;  | 
