diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-26 00:29:37 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-26 00:29:37 +0200 |
| commit | 7aa3d2c2d6c60c9d4696bf2fb91982a5be64f9b0 (patch) | |
| tree | 3fbbebbb3540294fada6fc356cd12c31825dcff8 /tests/typeset.rs | |
| parent | 56cbf96fe2b3b82d34b2e69a49bcb7b0c0267f6a (diff) | |
No more excessive region cloning
Diffstat (limited to 'tests/typeset.rs')
| -rw-r--r-- | tests/typeset.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs index 59eb008f..3e83fcb5 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -16,12 +16,15 @@ use typst::eval::{eval, Scope, Value}; use typst::exec::{exec, State}; use typst::geom::{self, Length, PathElement, Point, Sides, Size}; use typst::image::ImageId; -use typst::layout::{layout, Element, Frame, Geometry, LayoutTree, Paint, Text}; +use typst::layout::{layout, Element, Frame, Geometry, Paint, Text}; use typst::loading::{FileId, FsLoader}; use typst::parse::{parse, LineMap, Scanner}; use typst::syntax::{Location, Pos}; use typst::Context; +#[cfg(feature = "layout-cache")] +use typst::layout::LayoutTree; + const TYP_DIR: &str = "./typ"; const REF_DIR: &str = "./ref"; const PNG_DIR: &str = "./png"; |
