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/syntax/expr.rs | |
| parent | 911b5818344e85a58da9db895a333d22484b7ae7 (diff) | |
Remove color literals (#39)
Diffstat (limited to 'src/syntax/expr.rs')
| -rw-r--r-- | src/syntax/expr.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/syntax/expr.rs b/src/syntax/expr.rs index 26ec7f48..a8a5854a 100644 --- a/src/syntax/expr.rs +++ b/src/syntax/expr.rs @@ -1,7 +1,6 @@ use std::rc::Rc; use super::*; -use crate::color::RgbaColor; use crate::geom::{AngularUnit, LengthUnit}; /// An expression. @@ -28,8 +27,6 @@ pub enum Expr { Percent(Span, f64), /// A fraction unit literal: `1fr`. Fractional(Span, f64), - /// A color literal: `#ffccee`. - Color(Span, RgbaColor), /// A string literal: `"hello!"`. Str(Span, String), /// An identifier: `left`. @@ -81,7 +78,6 @@ impl Expr { Self::Angle(span, _, _) => span, Self::Percent(span, _) => span, Self::Fractional(span, _) => span, - Self::Color(span, _) => span, Self::Str(span, _) => span, Self::Ident(ref v) => v.span, Self::Array(ref v) => v.span, |
