Remove wrong documentation on EventLoop::run() (#3314)

This commit is contained in:
daxpedda 2023-12-25 08:27:34 +01:00 committed by GitHub
parent be4a660011
commit 61a873d79a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,9 +211,6 @@ impl<T> EventLoop<T> {
/// 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