diff options
Diffstat (limited to 'src/eval/mod.rs')
| -rw-r--r-- | src/eval/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/eval/mod.rs b/src/eval/mod.rs index 8579025f..96ac87a9 100644 --- a/src/eval/mod.rs +++ b/src/eval/mod.rs @@ -16,7 +16,6 @@ use std::path::{Path, PathBuf}; use std::rc::Rc; use crate::cache::Cache; -use crate::color::Color; use crate::diag::{Diag, DiagSet, Pass}; use crate::geom::{Angle, Fractional, Length, Relative}; use crate::loading::{FileHash, Loader}; @@ -248,7 +247,6 @@ impl Eval for Expr { Self::Angle(_, v, unit) => Value::Angle(Angle::with_unit(v, unit)), Self::Percent(_, v) => Value::Relative(Relative::new(v / 100.0)), Self::Fractional(_, v) => Value::Fractional(Fractional::new(v)), - Self::Color(_, v) => Value::Color(Color::Rgba(v)), Self::Str(_, ref v) => Value::Str(v.clone()), Self::Ident(ref v) => match ctx.scopes.get(&v) { Some(slot) => slot.borrow().clone(), |
