From 61a873d79a20df98dc01f8e47ad2094f6ccf9f98 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Mon, 25 Dec 2023 08:27:34 +0100 Subject: [PATCH] Remove wrong documentation on `EventLoop::run()` (#3314) --- src/event_loop.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/event_loop.rs b/src/event_loop.rs index 13e7488e80..6dfa96b1e1 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -211,9 +211,6 @@ impl EventLoop { /// Runs the event loop in the calling thread and calls the given `event_handler` closure /// to dispatch any pending events. /// - /// Since the closure is `'static`, it must be a `move` closure if it needs to - /// access any data from the calling context. - /// /// See the [`set_control_flow()`] docs on how to change the event loop's behavior. /// /// ## Platform-specific