From e9aa276a936f37afe16376bbe58306ee502bb771 Mon Sep 17 00:00:00 2001 From: Tommy Volk Date: Fri, 20 Sep 2024 15:57:09 -0500 Subject: [PATCH] Fix documentation for open_events() --- runtime/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/window.rs b/runtime/src/window.rs index cdf3d80ac4..27035d7de1 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 { event::listen_with(|event, _status, id| { if let crate::core::Event::Window(Event::Opened { .. }) = event {