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:
parent
9ab4c03e89
commit
be79e8979a
1 changed files with 2 additions and 1 deletions
|
|
@ -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."
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue