diff --git a/winit-core/src/window.rs b/winit-core/src/window.rs index ae2b28ba..36631604 100644 --- a/winit-core/src/window.rs +++ b/winit-core/src/window.rs @@ -328,7 +328,7 @@ impl WindowAttributes { /// /// **Android / iOS / X11 / Wayland / Orbital:** Unsupported. /// - /// [`WindowEvent::Focused`]: crate::event::WindowEvent::Focused. + /// [`WindowEvent::Focused`]: crate::event::WindowEvent::Focused #[inline] pub fn with_active(mut self, active: bool) -> Self { self.active = active; @@ -1943,15 +1943,15 @@ bitflags! { pub struct ImeRequestData { /// 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)>, /// 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)>, /// 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, } diff --git a/winit-wayland/src/lib.rs b/winit-wayland/src/lib.rs index 1a35a3de..c143840d 100644 --- a/winit-wayland/src/lib.rs +++ b/winit-wayland/src/lib.rs @@ -61,7 +61,7 @@ pub trait EventLoopExtWayland { 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 { /// Force using Wayland. fn with_wayland(&mut self) -> &mut Self; diff --git a/winit-x11/src/lib.rs b/winit-x11/src/lib.rs index 545e7a22..03dd88af 100644 --- a/winit-x11/src/lib.rs +++ b/winit-x11/src/lib.rs @@ -125,7 +125,7 @@ pub trait EventLoopExtX11 { 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 { /// Force using X11. fn with_x11(&mut self) -> &mut Self;