summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-09 07:01:11 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-10 10:01:50 +0100
commit025064c9e028ea65cc0c6ff236d42e9861efdda9 (patch)
tree001f998eb635fd18a255f49325a30bf09fdcda5d
parentecf571dfeb033f3768fccfb06bc9380e59281df3 (diff)
downloadiced-025064c9e028ea65cc0c6ff236d42e9861efdda9.tar.gz
iced-025064c9e028ea65cc0c6ff236d42e9861efdda9.tar.bz2
iced-025064c9e028ea65cc0c6ff236d42e9861efdda9.zip
Fix broken doc links in `layout::Node` API
-rw-r--r--core/src/layout/node.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/layout/node.rs b/core/src/layout/node.rs
index 40c71436..5743a9bd 100644
--- a/core/src/layout/node.rs
+++ b/core/src/layout/node.rs
@@ -60,7 +60,7 @@ impl Node {
self
}
- /// Mutable reference version of [`align`].
+ /// Mutable reference version of [`Self::align`].
pub fn align_mut(
&mut self,
horizontal_alignment: Alignment,
@@ -94,7 +94,7 @@ impl Node {
self
}
- /// Mutable reference version of [`move_to`].
+ /// Mutable reference version of [`Self::move_to`].
pub fn move_to_mut(&mut self, position: impl Into<Point>) {
let position = position.into();