From be79e8979a8ca76a15204bbda1061d26c4a8b24b Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sat, 20 Apr 2024 13:09:51 -0700 Subject: [PATCH] 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 --- src/platform_impl/linux/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform_impl/linux/mod.rs b/src/platform_impl/linux/mod.rs index 410d265fb4..5f7c548a2c 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." ); }