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/layout/tree.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/layout/tree.rs') diff --git a/src/layout/tree.rs b/src/layout/tree.rs index fe12cc33..b6f9ab47 100644 --- a/src/layout/tree.rs +++ b/src/layout/tree.rs @@ -4,9 +4,9 @@ use super::line::{LineContext, LineLayouter}; use super::text::{layout_text, TextContext}; use super::*; use crate::style::LayoutStyle; -use crate::syntax::decoration::Decoration; -use crate::syntax::span::{Span, Spanned}; -use crate::syntax::tree::{CallExpr, Code, Heading, SyntaxNode, SyntaxTree}; +use crate::syntax::{ + CallExpr, Code, Decoration, Heading, Span, Spanned, SyntaxNode, SyntaxTree, +}; use crate::{DynFuture, Feedback, Pass}; /// Layout a syntax tree into a collection of boxes. -- cgit v1.2.3