summaryrefslogtreecommitdiff
path: root/src/syntax/value.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/value.rs')
-rw-r--r--src/syntax/value.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/syntax/value.rs b/src/syntax/value.rs
index b7211eaf..c523ff93 100644
--- a/src/syntax/value.rs
+++ b/src/syntax/value.rs
@@ -2,7 +2,7 @@
use fontdock::{FontStyle, FontWeight, FontWidth};
-use crate::layout::prelude::*;
+use crate::layout::{Dir, SpecAlign};
use crate::length::{Length, ScaleLength};
use crate::paper::Paper;
use crate::Feedback;
@@ -103,10 +103,10 @@ macro_rules! ident_value {
}
ident_value!(Dir, "direction", |s| match s {
- "ltr" => Some(LTR),
- "rtl" => Some(RTL),
- "ttb" => Some(TTB),
- "btt" => Some(BTT),
+ "ltr" => Some(Self::LTR),
+ "rtl" => Some(Self::RTL),
+ "ttb" => Some(Self::TTB),
+ "btt" => Some(Self::BTT),
_ => None,
});