diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-08-01 19:15:55 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-08-01 19:15:55 +0200 |
| commit | 659248d52ff9e6be4dad7c4555bd62899671ad55 (patch) | |
| tree | 610f382adc09524a08c5cbb941e46103117a88e5 /src/syntax/func/maps.rs | |
| parent | 04c05502bee50f7657dc2d88c60eb935b068a284 (diff) | |
Raw lengths 🚲
Replace unitless length with raw f64 and introduce length type with unit.
Diffstat (limited to 'src/syntax/func/maps.rs')
| -rw-r--r-- | src/syntax/func/maps.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/syntax/func/maps.rs b/src/syntax/func/maps.rs index 2ac70223..59159ae1 100644 --- a/src/syntax/func/maps.rs +++ b/src/syntax/func/maps.rs @@ -1,8 +1,9 @@ //! Deduplicating maps and keys for argument parsing. use crate::diagnostic::Diagnostics; +use crate::geom::Value4; use crate::layout::prelude::*; -use crate::length::{ScaleLength, Value4}; +use crate::length::ScaleLength; use crate::syntax::span::Spanned; use super::keys::*; use super::values::*; |
