mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
docs: fix function name of with_any_thread
This commit is contained in:
@@ -180,7 +180,7 @@ 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 \
|
||||
`EventLoopBuilderExtWindows::any_thread` function."
|
||||
`EventLoopBuilderExtWindows::with_any_thread` function."
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user