Fix broken doc links in layout::Node API

This commit is contained in:
Héctor Ramón Jiménez 2024-01-09 07:01:11 +01:00
parent ecf571dfeb
commit 025064c9e0
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -60,7 +60,7 @@ impl Node {
self self
} }
/// Mutable reference version of [`align`]. /// Mutable reference version of [`Self::align`].
pub fn align_mut( pub fn align_mut(
&mut self, &mut self,
horizontal_alignment: Alignment, horizontal_alignment: Alignment,
@ -94,7 +94,7 @@ impl Node {
self 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>) { pub fn move_to_mut(&mut self, position: impl Into<Point>) {
let position = position.into(); let position = position.into();