about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-05-11 07:41:34 -0700
committerDan Gohman <dev@sunfishcode.online>2022-05-11 07:41:34 -0700
commit78806d4cfe59b05e41023a7c5363083c323c9bfb (patch)
treec2058ffe5a4c003628511121195f7e64b58d005f
parent90ff6fcd4ec4a91b9d0a4956d3fd8459931f2de4 (diff)
downloadrust-78806d4cfe59b05e41023a7c5363083c323c9bfb.tar.gz
rust-78806d4cfe59b05e41023a7c5363083c323c9bfb.zip
Fix duplicate import on Windows.
-rw-r--r--library/std/src/os/windows/io/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/windows/io/tests.rs b/library/std/src/os/windows/io/tests.rs
index 54175473707..b85b57591d4 100644
--- a/library/std/src/os/windows/io/tests.rs
+++ b/library/std/src/os/windows/io/tests.rs
@@ -2,7 +2,7 @@
 fn test_niche_optimizations_socket() {
     use crate::mem::size_of;
     use crate::os::windows::io::{
-        BorrowedSocket, FromRawSocket, IntoRawSocket, OwnedSocket, OwnedSocket, RawSocket,
+        BorrowedSocket, FromRawSocket, IntoRawSocket, OwnedSocket, RawSocket,
     };
 
     assert_eq!(size_of::<Option<OwnedSocket>>(), size_of::<RawSocket>());