Remove old docs about EventLoop::run

This commit is contained in:
Kirill Chibisov 2023-09-22 13:46:52 +04:00 committed by GitHub
parent c8b685ddbc
commit e2e01e1fc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -30,8 +30,7 @@
//!
//! You can retrieve events by calling [`EventLoop::run`][event_loop_run]. This function will
//! dispatch events for every [`Window`] that was created with that particular [`EventLoop`], and
//! will run until [`exit()`] is used, at which
//! point [`Event`]`::`[`LoopExiting`] is emitted and the entire program terminates.
//! will run until [`exit()`] is used, at which point [`Event`]`::`[`LoopExiting`].
//!
//! Winit no longer uses a `EventLoop::poll_events() -> impl Iterator<Event>`-based event loop
//! model, since that can't be implemented properly on some platforms (e.g web, iOS) and works poorly on