summaryrefslogtreecommitdiffstats
path: root/winit/src
diff options
context:
space:
mode:
Diffstat (limited to 'winit/src')
-rw-r--r--winit/src/application.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs
index ce57bd1d..49f2f513 100644
--- a/winit/src/application.rs
+++ b/winit/src/application.rs
@@ -310,9 +310,15 @@ async fn run_instance<A, E, C>(
window.request_redraw();
}
- event::Event::PlatformSpecific(event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(url))) => {
+ event::Event::PlatformSpecific(event::PlatformSpecific::MacOS(
+ event::MacOS::ReceivedUrl(url),
+ )) => {
use iced_native::event;
- events.push(iced_native::Event::PlatformSpecific(event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(url))));
+ events.push(iced_native::Event::PlatformSpecific(
+ event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(
+ url,
+ )),
+ ));
}
event::Event::UserEvent(message) => {
messages.push(message);