diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-30 22:32:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-30 22:32:24 +0200 |
| commit | 17e89468847735df10381c47c46c7d82d33cc463 (patch) | |
| tree | b0ce55f7d62aac399717aac3ab5a76c981c66f65 /src/pretty.rs | |
| parent | 911b5818344e85a58da9db895a333d22484b7ae7 (diff) | |
Remove color literals (#39)
Diffstat (limited to 'src/pretty.rs')
| -rw-r--r-- | src/pretty.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pretty.rs b/src/pretty.rs index ccf4d88d..17609cea 100644 --- a/src/pretty.rs +++ b/src/pretty.rs @@ -205,7 +205,6 @@ impl Pretty for Expr { 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::Color(_, v) => v.pretty(p), Self::Str(_, v) => v.pretty(p), Self::Ident(v) => v.pretty(p), Self::Array(v) => v.pretty(p), @@ -687,7 +686,6 @@ mod tests { roundtrip("{14.1deg}"); roundtrip("{20%}"); roundtrip("{0.5fr}"); - roundtrip("{#abcdef}"); roundtrip(r#"{"hi"}"#); test_parse(r#"{"let's \" go"}"#, r#"{"let's \" go"}"#); roundtrip("{hi}"); |
