diff --git a/src/platform_impl/linux/mod.rs b/src/platform_impl/linux/mod.rs index 410d265f..5f7c548a 100644 --- a/src/platform_impl/linux/mod.rs +++ b/src/platform_impl/linux/mod.rs @@ -726,7 +726,8 @@ impl EventLoop { "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." ); }