summaryrefslogtreecommitdiffstats
path: root/runtime/src/window.rs
diff options
context:
space:
mode:
authorLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:37:35 +0300
committerLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:37:35 +0300
commit7a86900a45116994a4a175c8979550b28ec0dcfb (patch)
tree4318ba0219282b246606b37c2344ac4efb5323a3 /runtime/src/window.rs
parentafecc0f367aff12fa353c8158fac3098ffe40136 (diff)
downloadiced-7a86900a45116994a4a175c8979550b28ec0dcfb.tar.gz
iced-7a86900a45116994a4a175c8979550b28ec0dcfb.tar.bz2
iced-7a86900a45116994a4a175c8979550b28ec0dcfb.zip
Fix various typos
Using https://github.com/crate-ci/typos
Diffstat (limited to '')
-rw-r--r--runtime/src/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/window.rs b/runtime/src/window.rs
index 27035d7d..382f4518 100644
--- a/runtime/src/window.rs
+++ b/runtime/src/window.rs
@@ -220,7 +220,7 @@ pub fn resize_events() -> Subscription<(Id, Size)> {
})
}
-/// Subscribes to all [`Event::CloseRequested`] occurences in the running application.
+/// Subscribes to all [`Event::CloseRequested`] occurrences in the running application.
pub fn close_requests() -> Subscription<Id> {
event::listen_with(|event, _status, id| {
if let crate::core::Event::Window(Event::CloseRequested) = event {