mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
docs: Don't reference EventLoopBuilderExtUnix
This replaces a reference to EventLoopBuilderExtUnix in a panic message with EventLoopBuilderExtX11 or EventLoopBuilderExtWayland. Closes #3488 Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
@@ -726,7 +726,8 @@ impl<T: 'static> EventLoop<T> {
|
||||
"Initializing the event loop outside of the main thread is a significant \
|
||||
cross-platform compatibility hazard. If you absolutely need to create an \
|
||||
EventLoop on a different thread, you can use the \
|
||||
`EventLoopBuilderExtUnix::any_thread` function."
|
||||
`EventLoopBuilderExtX11::any_thread` or `EventLoopBuilderExtWayland::any_thread` \
|
||||
functions."
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user