summaryrefslogtreecommitdiff
path: root/crates/typst-ide/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-ide/src/lib.rs')
-rw-r--r--crates/typst-ide/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-ide/src/lib.rs b/crates/typst-ide/src/lib.rs
index 63ba6f75..f09e6ac5 100644
--- a/crates/typst-ide/src/lib.rs
+++ b/crates/typst-ide/src/lib.rs
@@ -191,7 +191,7 @@ mod tests {
// Set page width to 120pt with 10pt margins, so that the inner page is
// exactly 100pt wide. Page height is unbounded and font size is 10pt so
// that it multiplies to nice round numbers.
- let mut lib = Library::default();
+ let mut lib = typst::Library::default();
lib.styles
.set(PageElem::set_width(Smart::Custom(Abs::pt(120.0).into())));
lib.styles.set(PageElem::set_height(Smart::Auto));