diff --git a/crates/tests/collections/tests/stock_iterable.rs b/crates/tests/collections/tests/stock_iterable.rs index 1bf65326de..7743b04443 100644 --- a/crates/tests/collections/tests/stock_iterable.rs +++ b/crates/tests/collections/tests/stock_iterable.rs @@ -1,6 +1,5 @@ #![allow(non_snake_case)] -use std::convert::TryFrom; use windows::{core::*, Foundation::Collections::*, Foundation::*, Win32::Foundation::E_BOUNDS}; #[test] diff --git a/crates/tests/collections/tests/stock_map_view.rs b/crates/tests/collections/tests/stock_map_view.rs index e45807c7fe..fa06fd8fa9 100644 --- a/crates/tests/collections/tests/stock_map_view.rs +++ b/crates/tests/collections/tests/stock_map_view.rs @@ -1,7 +1,6 @@ #![allow(non_snake_case)] use std::collections::BTreeMap; -use std::convert::{TryFrom, TryInto}; use windows::{core::*, Foundation::Collections::*, Win32::Foundation::E_BOUNDS}; #[test] diff --git a/crates/tests/collections/tests/stock_vector_view.rs b/crates/tests/collections/tests/stock_vector_view.rs index b966758b83..67cc93b10c 100644 --- a/crates/tests/collections/tests/stock_vector_view.rs +++ b/crates/tests/collections/tests/stock_vector_view.rs @@ -1,6 +1,5 @@ #![allow(non_snake_case)] -use std::convert::TryFrom; use windows::{core::*, Foundation::Collections::*, Win32::Foundation::E_BOUNDS}; #[test] diff --git a/crates/tests/core/tests/hstring.rs b/crates/tests/core/tests/hstring.rs index 205693dca4..78c73e647c 100644 --- a/crates/tests/core/tests/hstring.rs +++ b/crates/tests/core/tests/hstring.rs @@ -1,4 +1,3 @@ -use std::convert::TryFrom; use windows::core::*; #[test] diff --git a/crates/tests/win32/tests/hresult.rs b/crates/tests/win32/tests/hresult.rs index 045d423374..ca2efcc6bb 100644 --- a/crates/tests/win32/tests/hresult.rs +++ b/crates/tests/win32/tests/hresult.rs @@ -1,4 +1,3 @@ -use std::convert::TryInto; use windows::core::HRESULT; use windows::Win32::Foundation::*; diff --git a/crates/tests/win32/tests/win32.rs b/crates/tests/win32/tests/win32.rs index 7516079bf1..188b531411 100644 --- a/crates/tests/win32/tests/win32.rs +++ b/crates/tests/win32/tests/win32.rs @@ -11,7 +11,7 @@ use windows::{ Win32::Security::Authorization::*, Win32::System::Com::StructuredStorage::*, Win32::System::Com::*, - Win32::System::{Com::CreateUri, Diagnostics::Debug::*, Threading::*}, + Win32::System::{Diagnostics::Debug::*, Threading::*}, Win32::UI::{ Accessibility::UIA_ScrollPatternNoScroll, Animation::UIAnimationManager, @@ -20,9 +20,6 @@ use windows::{ }, }; -use std::convert::TryInto; -use windows::core::GUID; - #[test] fn signed_enum32() { assert!(ACCESS_MODE::default().0 == 0); diff --git a/crates/tests/winrt/tests/boxing.rs b/crates/tests/winrt/tests/boxing.rs index 93030338c3..25bf72de89 100644 --- a/crates/tests/winrt/tests/boxing.rs +++ b/crates/tests/winrt/tests/boxing.rs @@ -1,4 +1,3 @@ -use core::convert::{TryFrom, TryInto}; use windows::core::*; use windows::Foundation::*; diff --git a/crates/tests/winrt/tests/collections.rs b/crates/tests/winrt/tests/collections.rs index bc10f569f6..3a491b4cab 100644 --- a/crates/tests/winrt/tests/collections.rs +++ b/crates/tests/winrt/tests/collections.rs @@ -1,5 +1,4 @@ use core::convert::*; -use core::iter::FromIterator; use windows::{ core::Interface, diff --git a/crates/tests/winrt/tests/error.rs b/crates/tests/winrt/tests/error.rs index 0cd9650624..330664decf 100644 --- a/crates/tests/winrt/tests/error.rs +++ b/crates/tests/winrt/tests/error.rs @@ -1,4 +1,3 @@ -use std::convert::TryInto; use windows::{Foundation::Uri, Win32::Foundation::E_NOINTERFACE}; #[test]