We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca93c41 + e9aa276 commit 6162850Copy full SHA for 6162850
1 file changed
runtime/src/window.rs
@@ -187,7 +187,7 @@ pub fn events() -> Subscription<(Id, Event)> {
187
})
188
}
189
190
-/// Subscribes to all [`Event::Closed`] occurrences in the running application.
+/// Subscribes to all [`Event::Opened`] occurrences in the running application.
191
pub fn open_events() -> Subscription<Id> {
192
event::listen_with(|event, _status, id| {
193
if let crate::core::Event::Window(Event::Opened { .. }) = event {
0 commit comments