summaryrefslogtreecommitdiff
path: root/src/geom
diff options
context:
space:
mode:
Diffstat (limited to 'src/geom')
-rw-r--r--src/geom/relative.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/geom/relative.rs b/src/geom/relative.rs
index d87cfac7..ce473e3d 100644
--- a/src/geom/relative.rs
+++ b/src/geom/relative.rs
@@ -3,9 +3,7 @@ use super::*;
/// A relative length.
///
/// _Note_: `50%` is represented as `0.5` here, but stored as `50.0` in the
-/// corresponding [literal].
-///
-/// [literal]: ../syntax/ast/enum.Lit.html#variant.Percent
+/// corresponding [literal](crate::syntax::Lit::Percent).
#[derive(Default, Copy, Clone, PartialEq, PartialOrd)]
pub struct Relative(f64);