diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-10-31 15:52:16 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-10-31 15:52:35 +0100 |
| commit | 5b344b663a3d224134923eea0d67ebf44c069b07 (patch) | |
| tree | 34a5fb464a38b9d4cb11294379b3ddf351dfce21 /tests | |
| parent | feff013abb17f31bc5305fe77fe67cf615c19ff2 (diff) | |
Reorganize modules
Instead of separating functionality into layout and library, everything lives in the library now. This way, related things live side by side and there are no duplicate file names in the two directories.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typeset.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs index 4eab0383..bde383c4 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -12,13 +12,14 @@ use walkdir::WalkDir; use typst::diag::Error; use typst::eval::Value; use typst::font::Face; +use typst::frame::{Element, Frame, Geometry, Text}; use typst::geom::{ self, Color, Length, Paint, PathElement, Point, RgbaColor, Sides, Size, }; use typst::image::Image; +use typst::layout::layout; #[cfg(feature = "layout-cache")] use typst::layout::PageNode; -use typst::layout::{layout, Element, Frame, Geometry, Text}; use typst::loading::FsLoader; use typst::parse::Scanner; use typst::source::SourceFile; |
