diff --git a/src/platform_impl/windows/event_loop.rs b/src/platform_impl/windows/event_loop.rs index 8b563d38c0..094f972786 100644 --- a/src/platform_impl/windows/event_loop.rs +++ b/src/platform_impl/windows/event_loop.rs @@ -219,10 +219,7 @@ pub struct EventLoopWindowTarget { thread_id: u32, thread_msg_target: HWND, pub(crate) runner_shared: EventLoopRunnerShared, - // TODO - // eventually should be removed after all the backends refactored, - // but for now should this be invariant or contra-variant to T? - _marker: PhantomData<*mut T>, + _marker: PhantomData, } impl EventLoop {