@@ -84,7 +84,7 @@ impl ActiveEventLoop {
8484 modifiers. set ( Modifiers :: empty ( ) ) ;
8585 Event :: WindowEvent {
8686 window_id,
87- event : WindowEvent :: ModifiersChanged ( Modifiers :: empty ( ) . into ( ) ) ,
87+ event : WindowEvent :: ModifiersChanged ( Modifiers :: empty ( ) ) ,
8888 }
8989 } ) ;
9090
@@ -130,7 +130,7 @@ impl ActiveEventLoop {
130130 modifiers. set ( active_modifiers) ;
131131 Event :: WindowEvent {
132132 window_id,
133- event : WindowEvent :: ModifiersChanged ( active_modifiers. into ( ) ) ,
133+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
134134 }
135135 } ) ;
136136
@@ -165,7 +165,7 @@ impl ActiveEventLoop {
165165 modifiers. set ( active_modifiers) ;
166166 Event :: WindowEvent {
167167 window_id,
168- event : WindowEvent :: ModifiersChanged ( active_modifiers. into ( ) ) ,
168+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
169169 }
170170 } ) ;
171171
@@ -203,7 +203,7 @@ impl ActiveEventLoop {
203203 modifiers. set ( active_modifiers) ;
204204 Event :: WindowEvent {
205205 window_id,
206- event : WindowEvent :: ModifiersChanged ( active_modifiers. into ( ) ) ,
206+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
207207 }
208208 } ) ;
209209
@@ -229,7 +229,7 @@ impl ActiveEventLoop {
229229 modifiers. set ( active_modifiers) ;
230230 Event :: WindowEvent {
231231 window_id,
232- event : WindowEvent :: ModifiersChanged ( active_modifiers. into ( ) ) ,
232+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
233233 }
234234 } ) ;
235235
@@ -255,9 +255,7 @@ impl ActiveEventLoop {
255255 modifiers. set ( active_modifiers) ;
256256 Event :: WindowEvent {
257257 window_id,
258- event : WindowEvent :: ModifiersChanged (
259- active_modifiers. into ( ) ,
260- ) ,
258+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
261259 }
262260 } ) ;
263261
@@ -285,7 +283,7 @@ impl ActiveEventLoop {
285283 modifiers. set ( active_modifiers) ;
286284 Event :: WindowEvent {
287285 window_id,
288- event : WindowEvent :: ModifiersChanged ( active_modifiers. into ( ) ) ,
286+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
289287 }
290288 } ) ;
291289
@@ -312,7 +310,7 @@ impl ActiveEventLoop {
312310 modifiers. set ( active_modifiers) ;
313311 Event :: WindowEvent {
314312 window_id,
315- event : WindowEvent :: ModifiersChanged ( active_modifiers. into ( ) ) ,
313+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
316314 }
317315 } ) ;
318316
@@ -340,7 +338,7 @@ impl ActiveEventLoop {
340338 modifiers. set ( active_modifiers) ;
341339 Event :: WindowEvent {
342340 window_id,
343- event : WindowEvent :: ModifiersChanged ( active_modifiers. into ( ) ) ,
341+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
344342 }
345343 } ) ;
346344
@@ -365,7 +363,7 @@ impl ActiveEventLoop {
365363 modifiers. set ( active_modifiers) ;
366364 Event :: WindowEvent {
367365 window_id,
368- event : WindowEvent :: ModifiersChanged ( active_modifiers. into ( ) ) ,
366+ event : WindowEvent :: ModifiersChanged ( active_modifiers) ,
369367 }
370368 } ) ;
371369
0 commit comments