@@ -156,18 +156,17 @@ impl CursorShapeWindows {
156156#[ cfg( target_os = "windows" ) ]
157157mod windows {
158158 use super :: * ;
159- use std:: { collections:: HashMap , sync:: OnceLock } ;
160159 use :: windows:: {
161160 Win32 :: UI :: WindowsAndMessaging :: {
162- IDC_APPSTARTING , IDC_ARROW , IDC_CROSS , IDC_HAND , IDC_HELP , IDC_IBEAM , IDC_NO ,
161+ HCURSOR , IDC_APPSTARTING , IDC_ARROW , IDC_CROSS , IDC_HAND , IDC_HELP , IDC_IBEAM , IDC_NO ,
163162 IDC_PERSON , IDC_PIN , IDC_SIZEALL , IDC_SIZENESW , IDC_SIZENS , IDC_SIZENWSE , IDC_SIZEWE ,
164- IDC_UPARROW , IDC_WAIT , LoadCursorW , HCURSOR ,
163+ IDC_UPARROW , IDC_WAIT , LoadCursorW ,
165164 } ,
166165 core:: PCWSTR ,
167166 } ;
167+ use std:: { collections:: HashMap , sync:: OnceLock } ;
168168
169- static CURSOR_CACHE : OnceLock < HashMap < usize , CursorShapeWindows > > =
170- OnceLock :: new ( ) ;
169+ static CURSOR_CACHE : OnceLock < HashMap < usize , CursorShapeWindows > > = OnceLock :: new ( ) ;
171170
172171 fn get_cursor_cache ( ) -> & ' static HashMap < usize , CursorShapeWindows > {
173172 CURSOR_CACHE . get_or_init ( || {
0 commit comments