summaryrefslogtreecommitdiff
path: root/src/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax')
-rw-r--r--src/syntax/pretty.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax/pretty.rs b/src/syntax/pretty.rs
index 3c59914f..39f0676b 100644
--- a/src/syntax/pretty.rs
+++ b/src/syntax/pretty.rs
@@ -223,8 +223,8 @@ impl Pretty for Lit {
Self::Bool(_, v) => write!(p, "{}", v).unwrap(),
Self::Int(_, v) => write!(p, "{}", v).unwrap(),
Self::Float(_, v) => write!(p, "{}", v).unwrap(),
- Self::Length(_, v, u) => write!(p, "{}{}", v, u).unwrap(),
- Self::Angle(_, v, u) => write!(p, "{}{}", v, u).unwrap(),
+ Self::Length(_, v, u) => write!(p, "{}{:?}", v, u).unwrap(),
+ Self::Angle(_, v, u) => write!(p, "{}{:?}", v, u).unwrap(),
Self::Percent(_, v) => write!(p, "{}%", v).unwrap(),
Self::Fractional(_, v) => write!(p, "{}fr", v).unwrap(),
Self::Str(_, v) => write!(p, "{:?}", v).unwrap(),