summaryrefslogtreecommitdiffstats
path: root/src/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout.rs')
-rw-r--r--src/layout.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/layout.rs b/src/layout.rs
index 78c7f947..16d4f685 100644
--- a/src/layout.rs
+++ b/src/layout.rs
@@ -9,9 +9,9 @@ use crate::{Point, Rectangle, Vector};
/// [`Widget::node`].
///
/// [`Node`]: struct.Node.html
-/// [`Widget::on_event`]: trait.Widget.html#method.on_event
-/// [`Widget::draw`]: trait.Widget.html#tymethod.draw
-/// [`Widget::node`]: trait.Widget.html#tymethod.node
+/// [`Widget::on_event`]: widget/trait.Widget.html#method.on_event
+/// [`Widget::draw`]: widget/trait.Widget.html#tymethod.draw
+/// [`Widget::node`]: widget/trait.Widget.html#tymethod.node
#[derive(Debug)]
pub struct Layout<'a> {
layout: &'a result::Layout,
@@ -39,7 +39,7 @@ impl<'a> Layout<'a> {
/// [`Node`].
///
/// [`Layout`]: struct.Layout.html
- /// [`Rectangle`]: ../../graphics/struct.Rectangle.html
+ /// [`Rectangle`]: struct.Rectangle.html
/// [`Node`]: struct.Node.html
pub fn bounds(&self) -> Rectangle<f32> {
Rectangle {