1
0
Fork 0

Fix missing generic arguments on BackgroundThread

This commit is contained in:
Robbert van der Helm 2023-01-06 17:59:33 +01:00
parent 6f7f2e30ed
commit 47b75fd020
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ pub(crate) struct MacOSEventLoop<T, E> {
/// A background thread for running tasks independently from the host's GUI thread. Useful for /// A background thread for running tasks independently from the host's GUI thread. Useful for
/// longer, blocking tasks. /// longer, blocking tasks.
background_thread: BackgroundThread<T>, background_thread: BackgroundThread<T, E>,
/// The reference to the run-loop source so that it can be torn down when this struct is /// The reference to the run-loop source so that it can be torn down when this struct is
/// dropped. /// dropped.

View file

@ -55,7 +55,7 @@ pub(crate) struct WindowsEventLoop<T, E> {
/// A background thread for running tasks independently from the host's GUI thread. Useful for /// A background thread for running tasks independently from the host's GUI thread. Useful for
/// longer, blocking tasks. /// longer, blocking tasks.
background_thread: BackgroundThread<T>, background_thread: BackgroundThread<T, E>,
} }
impl<T, E> EventLoop<T, E> for WindowsEventLoop<T, E> impl<T, E> EventLoop<T, E> for WindowsEventLoop<T, E>