summaryrefslogtreecommitdiff
path: root/src/eval/dict.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-29 11:35:49 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-29 11:35:49 +0200
commit312dcd070cf79c1dd5503f90ef10588fe4612108 (patch)
treed995673742bfddbc107dc8d384e1d8ecd4d0ccb6 /src/eval/dict.rs
parent6ebe6218343a520dce2a5e560edbdc6fa0e9e44b (diff)
Move EcoString and OptionExt into util
Diffstat (limited to 'src/eval/dict.rs')
-rw-r--r--src/eval/dict.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/dict.rs b/src/eval/dict.rs
index bf99ea17..c1c3f505 100644
--- a/src/eval/dict.rs
+++ b/src/eval/dict.rs
@@ -5,7 +5,7 @@ use std::ops::{Add, AddAssign};
use std::rc::Rc;
use super::Value;
-use crate::eco::EcoString;
+use crate::util::EcoString;
/// Create a new [`Dict`] from key-value pairs.
#[macro_export]
@@ -13,7 +13,7 @@ macro_rules! dict {
($($key:expr => $value:expr),* $(,)?) => {{
#[allow(unused_mut)]
let mut map = std::collections::BTreeMap::new();
- $(map.insert($crate::eco::EcoString::from($key), $crate::eval::Value::from($value));)*
+ $(map.insert($crate::util::EcoString::from($key), $crate::eval::Value::from($value));)*
$crate::eval::Dict::from_map(map)
}};
}