Commit d9c3dac 1 parent 5289d22 commit d9c3dac Copy full SHA for d9c3dac
File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ pub struct EventLoop<T: 'static> {
34
34
pub ( crate ) _marker : :: std:: marker:: PhantomData < * mut ( ) > // Not Send nor Sync
35
35
}
36
36
37
- impl < T > std :: fmt:: Debug for EventLoop < T > {
38
- fn fmt ( & self , fmtr : & mut std :: fmt:: Formatter ) -> std :: fmt:: Result {
37
+ impl < T > fmt:: Debug for EventLoop < T > {
38
+ fn fmt ( & self , fmtr : & mut fmt:: Formatter ) -> fmt:: Result {
39
39
fmtr. pad ( "EventLoop { .. }" )
40
40
}
41
41
}
@@ -154,8 +154,8 @@ impl<T> EventLoopProxy<T> {
154
154
}
155
155
}
156
156
157
- impl < T > std :: fmt:: Debug for EventLoopProxy < T > {
158
- fn fmt ( & self , fmtr : & mut std :: fmt:: Formatter ) -> std :: fmt:: Result {
157
+ impl < T > fmt:: Debug for EventLoopProxy < T > {
158
+ fn fmt ( & self , fmtr : & mut fmt:: Formatter ) -> fmt:: Result {
159
159
fmtr. pad ( "EventLoopProxy { .. }" )
160
160
}
161
161
}
Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ impl Window {
614
614
let mut window_state_lock = self . window_state . lock ( ) ;
615
615
unsafe {
616
616
let monitor_rect = monitor. as_ref ( )
617
- . map ( |RootMonitorHandle { ref inner } | {
617
+ . map ( |& RootMonitorHandle { ref inner } | {
618
618
let ( x, y) : ( i32 , i32 ) = inner. get_position ( ) . into ( ) ;
619
619
let ( width, height) : ( u32 , u32 ) = inner. get_dimensions ( ) . into ( ) ;
620
620
( x, y, width, height)
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ pub struct Window {
33
33
pub ( crate ) window : platform_impl:: Window ,
34
34
}
35
35
36
- impl std :: fmt:: Debug for Window {
37
- fn fmt ( & self , fmtr : & mut std :: fmt:: Formatter ) -> std :: fmt:: Result {
36
+ impl fmt:: Debug for Window {
37
+ fn fmt ( & self , fmtr : & mut fmt:: Formatter ) -> fmt:: Result {
38
38
fmtr. pad ( "Window { .. }" )
39
39
}
40
40
}
@@ -58,8 +58,8 @@ pub struct WindowBuilder {
58
58
pub ( crate ) platform_specific : platform_impl:: PlatformSpecificWindowBuilderAttributes ,
59
59
}
60
60
61
- impl std :: fmt:: Debug for WindowBuilder {
62
- fn fmt ( & self , fmtr : & mut std :: fmt:: Formatter ) -> std :: fmt:: Result {
61
+ impl fmt:: Debug for WindowBuilder {
62
+ fn fmt ( & self , fmtr : & mut fmt:: Formatter ) -> fmt:: Result {
63
63
fmtr. debug_struct ( "WindowBuilder" )
64
64
. field ( "window" , & self . window )
65
65
. finish ( )
You can’t perform that action at this time.
0 commit comments