summaryrefslogtreecommitdiff
path: root/src/model/cast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/cast.rs')
-rw-r--r--src/model/cast.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/cast.rs b/src/model/cast.rs
index 0da9906f..4c300550 100644
--- a/src/model/cast.rs
+++ b/src/model/cast.rs
@@ -2,6 +2,8 @@ use std::num::NonZeroUsize;
use std::ops::Add;
use std::str::FromStr;
+use ecow::EcoString;
+
use super::{
castable, Array, Content, Dict, Func, Label, Regex, Selector, Str, Transform, Value,
};
@@ -13,7 +15,6 @@ use crate::geom::{
Rel, Sides, Smart,
};
use crate::syntax::Spanned;
-use crate::util::EcoString;
/// Cast from a value to a specific type.
pub trait Cast<V = Value>: Sized {