diff options
author | 2024-09-21 00:15:07 +0200 | |
---|---|---|
committer | 2024-09-21 00:15:07 +0200 | |
commit | 6162850c786e5b2749682e519cd73eed581ae1bf (patch) | |
tree | eb829666471489c475431e934f6afaf48a6e4171 | |
parent | ca93c41789788694b562493d970d40209dd6738f (diff) | |
parent | e9aa276a936f37afe16376bbe58306ee502bb771 (diff) | |
download | iced-6162850c786e5b2749682e519cd73eed581ae1bf.tar.gz iced-6162850c786e5b2749682e519cd73eed581ae1bf.tar.bz2 iced-6162850c786e5b2749682e519cd73eed581ae1bf.zip |
Merge pull request #2594 from tvolk131/fix_docs
Fix documentation for open_events()
Diffstat (limited to '')
-rw-r--r-- | runtime/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/window.rs b/runtime/src/window.rs index cdf3d80a..27035d7d 100644 --- a/runtime/src/window.rs +++ b/runtime/src/window.rs @@ -187,7 +187,7 @@ pub fn events() -> Subscription<(Id, Event)> { }) } -/// Subscribes to all [`Event::Closed`] occurrences in the running application. +/// Subscribes to all [`Event::Opened`] occurrences in the running application. pub fn open_events() -> Subscription<Id> { event::listen_with(|event, _status, id| { if let crate::core::Event::Window(Event::Opened { .. }) = event { |