summaryrefslogtreecommitdiff
path: root/src/geom
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-11-24 16:12:41 +0100
committerLaurenz <laurmaedje@gmail.com>2020-11-24 16:12:41 +0100
commit761931405c68efe0a35d96524df797dda7155723 (patch)
tree31ac2153dc0e5a5dc4fb4f46f839caed8066542a /src/geom
parentf105663037c44740b5aa02dea72a9b368bc003e0 (diff)
Use newly stabilized intra doc links ↩
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);