From 0a5122561c6f6aca5cf802464220056d763040f8 Mon Sep 17 00:00:00 2001 From: Arnold Loubriat Date: Sat, 23 Nov 2024 16:59:20 +0100 Subject: [PATCH] fix: Fix some broken links in the documentation (#484) --- common/src/geometry.rs | 2 +- common/src/lib.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/src/geometry.rs b/common/src/geometry.rs index fe04c62c..a7cd1f28 100644 --- a/common/src/geometry.rs +++ b/common/src/geometry.rs @@ -48,7 +48,7 @@ impl Affine { /// [Wikipedia](https://en.wikipedia.org/wiki/Affine_transformation) /// formulation of affine transformation as augmented matrix. The /// idea is that `(A * B) * v == A * (B * v)`, where `*` is the - /// [`Mul`](std::ops::Mul) trait. + /// [`Mul`](core::ops::Mul) trait. #[inline] pub const fn new(c: [f64; 6]) -> Affine { Affine(c) diff --git a/common/src/lib.rs b/common/src/lib.rs index c3aa341b..b630f21a 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -1567,9 +1567,9 @@ string_property_methods! { /// Only present when different from parent. (Language, language, set_language, clear_language), /// If a text input has placeholder text, it should be exposed - /// through this property rather than [`name`]. + /// through this property rather than [`label`]. /// - /// [`name`]: Node::name + /// [`label`]: Node::label (Placeholder, placeholder, set_placeholder, clear_placeholder), /// An optional string that may override an assistive technology's /// description of the node's role. Only provide this for custom control types. @@ -1581,9 +1581,9 @@ string_property_methods! { /// and assistive technologies do not support this feature. (StateDescription, state_description, set_state_description, clear_state_description), /// If a node's only accessible name comes from a tooltip, it should be - /// exposed through this property rather than [`name`]. + /// exposed through this property rather than [`label`]. /// - /// [`name`]: Node::name + /// [`label`]: Node::label (Tooltip, tooltip, set_tooltip, clear_tooltip), (Url, url, set_url, clear_url), (RowIndexText, row_index_text, set_row_index_text, clear_row_index_text),