Fix missing generic arguments on BackgroundThread
This commit is contained in:
parent
6f7f2e30ed
commit
47b75fd020
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue