summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2024-10-02 15:29:35 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-02 15:29:35 +0200
commite504e35146fe3a0f7b6136aefcbc13bbcf00b75d (patch)
tree7e8abd4403b4622bfaafcd3cb42f4c2336554554 /runtime
parente086c19a0628a5f9785904972f5aa5ef77cfe1dc (diff)
parent7a86900a45116994a4a175c8979550b28ec0dcfb (diff)
downloadiced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.tar.gz
iced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.tar.bz2
iced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.zip
Merge pull request #2615 from bbb651/wayland-file-dropped-doc
Document Wayland `File*` Events as Unsupported & Fix Typos
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/system.rs2
-rw-r--r--runtime/src/window.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/system.rs b/runtime/src/system.rs
index b6fb4fdf..8b0ec2d8 100644
--- a/runtime/src/system.rs
+++ b/runtime/src/system.rs
@@ -8,7 +8,7 @@ pub enum Action {
QueryInformation(oneshot::Sender<Information>),
}
-/// Contains informations about the system (e.g. system name, processor, memory, graphics adapter).
+/// Contains information about the system (e.g. system name, processor, memory, graphics adapter).
#[derive(Clone, Debug)]
pub struct Information {
/// The operating system name
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 {