summaryrefslogtreecommitdiff
path: root/src/compute
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-09-30 12:38:02 +0200
committerLaurenz <laurmaedje@gmail.com>2020-09-30 12:45:33 +0200
commitbc1b4216a802d09e8d00dd277a0e204d49bcaa7f (patch)
tree31dabd48d5062fdd684797ed6053bf279ba67490 /src/compute
parentfee5170a68a6ef97108d731a4873787894f65a06 (diff)
Reorganize syntax types into two modules 📦
Diffstat (limited to 'src/compute')
-rw-r--r--src/compute/table.rs2
-rw-r--r--src/compute/value.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/compute/table.rs b/src/compute/table.rs
index b969c8dc..7abb565b 100644
--- a/src/compute/table.rs
+++ b/src/compute/table.rs
@@ -4,7 +4,7 @@ use std::collections::BTreeMap;
use std::fmt::{self, Debug, Display, Formatter};
use std::ops::Index;
-use crate::syntax::span::{Span, Spanned};
+use crate::syntax::{Span, Spanned};
/// A table data structure, which maps from integers (`u64`) or strings to a
/// generic value type.
diff --git a/src/compute/value.rs b/src/compute/value.rs
index 975c1f46..95219a5c 100644
--- a/src/compute/value.rs
+++ b/src/compute/value.rs
@@ -11,8 +11,7 @@ use crate::color::RgbaColor;
use crate::layout::{Command, Commands, Dir, LayoutContext, SpecAlign};
use crate::length::{Length, ScaleLength};
use crate::paper::Paper;
-use crate::syntax::span::{Span, Spanned};
-use crate::syntax::tree::{Ident, SyntaxNode, SyntaxTree};
+use crate::syntax::{Ident, Span, Spanned, SyntaxNode, SyntaxTree};
use crate::{DynFuture, Feedback, Pass};
/// A computational value.