Skip to content

Commit

Permalink
docs: Don't reference EventLoopBuilderExtUnix
Browse files Browse the repository at this point in the history
This replaces a reference to EventLoopBuilderExtUnix in a panic
message with EventLoopBuilderExtX11 or EventLoopBuilderExtWayland.

Closes #3488

Signed-off-by: John Nunley <dev@notgull.net>
  • Loading branch information
notgull committed Apr 21, 2024
1 parent 9ab4c03 commit be79e89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform_impl/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."
);
}

Expand Down

0 comments on commit be79e89

Please sign in to comment.