summaryrefslogtreecommitdiff
path: root/src/layout
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/mod.rs2
-rw-r--r--src/layout/tree.rs6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index 853a66ec..c053cda0 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -25,7 +25,7 @@ use crate::compute::scope::Scope;
use crate::font::SharedFontLoader;
use crate::geom::{Margins, Size};
use crate::style::{LayoutStyle, PageStyle, TextStyle};
-use crate::syntax::tree::SyntaxTree;
+use crate::syntax::SyntaxTree;
use elements::LayoutElements;
use prelude::*;
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.