Skip to content

Commit 6162850

Browse files
authored
Merge pull request #2594 from tvolk131/fix_docs
Fix documentation for open_events()
2 parents ca93c41 + e9aa276 commit 6162850

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime/src/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ pub fn events() -> Subscription<(Id, Event)> {
187187
})
188188
}
189189

190-
/// Subscribes to all [`Event::Closed`] occurrences in the running application.
190+
/// Subscribes to all [`Event::Opened`] occurrences in the running application.
191191
pub fn open_events() -> Subscription<Id> {
192192
event::listen_with(|event, _status, id| {
193193
if let crate::core::Event::Window(Event::Opened { .. }) = event {

0 commit comments

Comments
 (0)