summaryrefslogtreecommitdiff
path: root/src/geom
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-07 23:31:42 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-08 11:52:09 +0100
commit75fffc1f9b6ef8bf258b2b1845a4ba74a0f5f2c1 (patch)
treee8c841d9d9323fc3cff0f584f3267743e809dd25 /src/geom
parent95866d5fc9ae89a23c5754193c7de5d4fe4873b1 (diff)
Fine-grained capturing
Diffstat (limited to 'src/geom')
-rw-r--r--src/geom/relative.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geom/relative.rs b/src/geom/relative.rs
index 754aa6c8..e46c51de 100644
--- a/src/geom/relative.rs
+++ b/src/geom/relative.rs
@@ -3,7 +3,7 @@ use super::*;
/// A relative length.
///
/// _Note_: `50%` is represented as `0.5` here, but stored as `50.0` in the
-/// corresponding [literal](crate::syntax::ast::Lit::Percent).
+/// corresponding [literal](crate::syntax::ast::LitKind::Percent).
#[derive(Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct Relative(N64);