From bc1b4216a802d09e8d00dd277a0e204d49bcaa7f Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 30 Sep 2020 12:38:02 +0200 Subject: =?UTF-8?q?Reorganize=20syntax=20types=20into=20two=20modules=20?= =?UTF-8?q?=F0=9F=93=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/compute/table.rs | 2 +- src/compute/value.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/compute') 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. -- cgit v1.2.3