chore: fix typos causing dead links

This commit is contained in:
sachharine 2025-10-07 11:25:41 +01:00 committed by GitHub
parent b811e9d878
commit ffcdf80192
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -328,7 +328,7 @@ impl WindowAttributes {
/// ///
/// **Android / iOS / X11 / Wayland / Orbital:** Unsupported. /// **Android / iOS / X11 / Wayland / Orbital:** Unsupported.
/// ///
/// [`WindowEvent::Focused`]: crate::event::WindowEvent::Focused. /// [`WindowEvent::Focused`]: crate::event::WindowEvent::Focused
#[inline] #[inline]
pub fn with_active(mut self, active: bool) -> Self { pub fn with_active(mut self, active: bool) -> Self {
self.active = active; self.active = active;
@ -1943,15 +1943,15 @@ bitflags! {
pub struct ImeRequestData { pub struct ImeRequestData {
/// Text input hint and purpose. /// Text input hint and purpose.
/// ///
/// To support updating it, enable [`ImeCapabilities::HINT_AND_PURPOSE`]. /// To support updating it, enable [`ImeCapabilities::hint_and_purpose()`].
pub hint_and_purpose: Option<(ImeHint, ImePurpose)>, pub hint_and_purpose: Option<(ImeHint, ImePurpose)>,
/// The IME cursor area which should not be covered by the input method popup. /// The IME cursor area which should not be covered by the input method popup.
/// ///
/// To support updating it, enable [`ImeCapabilities::CURSOR_AREA`]. /// To support updating it, enable [`ImeCapabilities::cursor_area()`].
pub cursor_area: Option<(Position, Size)>, pub cursor_area: Option<(Position, Size)>,
/// The text surrounding the caret /// The text surrounding the caret
/// ///
/// To support updating it, enable [`ImeCapabilities::SURROUNDING_TEXT`]. /// To support updating it, enable [`ImeCapabilities::surrounding_text()`].
pub surrounding_text: Option<ImeSurroundingText>, pub surrounding_text: Option<ImeSurroundingText>,
} }

View file

@ -61,7 +61,7 @@ pub trait EventLoopExtWayland {
fn is_wayland(&self) -> bool; fn is_wayland(&self) -> bool;
} }
/// Additional methods on [`EventLoopBuilder`] that are specific to Wayland. /// Additional methods when building event loop that are specific to Wayland.
pub trait EventLoopBuilderExtWayland { pub trait EventLoopBuilderExtWayland {
/// Force using Wayland. /// Force using Wayland.
fn with_wayland(&mut self) -> &mut Self; fn with_wayland(&mut self) -> &mut Self;

View file

@ -125,7 +125,7 @@ pub trait EventLoopExtX11 {
fn is_x11(&self) -> bool; fn is_x11(&self) -> bool;
} }
/// Additional methods on [`EventLoopBuilder`] that are specific to X11. /// Additional methods when building event loop that are specific to X11.
pub trait EventLoopBuilderExtX11 { pub trait EventLoopBuilderExtX11 {
/// Force using X11. /// Force using X11.
fn with_x11(&mut self) -> &mut Self; fn with_x11(&mut self) -> &mut Self;