chore: fix typos causing dead links
This commit is contained in:
parent
b811e9d878
commit
ffcdf80192
3 changed files with 6 additions and 6 deletions
|
|
@ -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<ImeSurroundingText>,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue