From 47b75fd0206186992bbe4c4e510cf722295bcc1c Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 6 Jan 2023 17:59:33 +0100 Subject: [PATCH] Fix missing generic arguments on BackgroundThread --- src/event_loop/macos.rs | 2 +- src/event_loop/windows.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event_loop/macos.rs b/src/event_loop/macos.rs index 75c10307..a992e8b1 100644 --- a/src/event_loop/macos.rs +++ b/src/event_loop/macos.rs @@ -28,7 +28,7 @@ pub(crate) struct MacOSEventLoop { /// A background thread for running tasks independently from the host's GUI thread. Useful for /// longer, blocking tasks. - background_thread: BackgroundThread, + background_thread: BackgroundThread, /// The reference to the run-loop source so that it can be torn down when this struct is /// dropped. diff --git a/src/event_loop/windows.rs b/src/event_loop/windows.rs index f7e80751..de5244d7 100644 --- a/src/event_loop/windows.rs +++ b/src/event_loop/windows.rs @@ -55,7 +55,7 @@ pub(crate) struct WindowsEventLoop { /// A background thread for running tasks independently from the host's GUI thread. Useful for /// longer, blocking tasks. - background_thread: BackgroundThread, + background_thread: BackgroundThread, } impl EventLoop for WindowsEventLoop