diff --git a/crates/eframe/src/web/input.rs b/crates/eframe/src/web/input.rs index a32070c8e1b..33ea30b6dce 100644 --- a/crates/eframe/src/web/input.rs +++ b/crates/eframe/src/web/input.rs @@ -109,7 +109,7 @@ pub fn should_ignore_key(key: &str) -> bool { ) } -/// Web sends all all keys as strings, so it is up to us to figure out if it is +/// Web sends all keys as strings, so it is up to us to figure out if it is /// a real text input or the name of a key. pub fn translate_key(key: &str) -> Option { use egui::Key; diff --git a/crates/egui/src/ui.rs b/crates/egui/src/ui.rs index 1c0d2155585..8474bcb0e72 100644 --- a/crates/egui/src/ui.rs +++ b/crates/egui/src/ui.rs @@ -1325,7 +1325,7 @@ impl Ui { Hyperlink::new(url).ui(self) } - /// Shortcut for `add(Hyperlink::new(url).text(label))`. + /// Shortcut for `add(Hyperlink::from_label_and_url(label, url))`. /// /// ``` /// # egui::__run_test_ui(|ui| { diff --git a/crates/emath/src/range.rs b/crates/emath/src/range.rs index 6de7b2a099f..19740710c9f 100644 --- a/crates/emath/src/range.rs +++ b/crates/emath/src/range.rs @@ -1,6 +1,6 @@ use std::ops::{RangeFrom, RangeFull, RangeInclusive, RangeToInclusive}; -/// Includive range of floats, i.e. `min..=max`, but more ergonomic than [`RangeInclusive`]. +/// Inclusive range of floats, i.e. `min..=max`, but more ergonomic than [`RangeInclusive`]. #[repr(C)] #[derive(Clone, Copy, Debug, PartialEq)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]