From 6ab7760822ccd24b4ef126d4737d41f1be15fe19 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 1 Mar 2023 16:30:58 +0100 Subject: Split up `model` module --- library/src/math/accent.rs | 2 +- library/src/math/mod.rs | 6 +++--- library/src/math/op.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'library/src/math') diff --git a/library/src/math/accent.rs b/library/src/math/accent.rs index aa6d0523..9c474eee 100644 --- a/library/src/math/accent.rs +++ b/library/src/math/accent.rs @@ -1,4 +1,4 @@ -use typst::model::combining_accent; +use typst::eval::combining_accent; use super::*; diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index c455d106..d73b1769 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -29,9 +29,9 @@ pub use self::style::*; pub use self::underover::*; use ttf_parser::{GlyphId, Rect}; -use typst::font::Font; -use typst::font::FontWeight; -use typst::model::{Guard, Module, Scope, SequenceNode, StyledNode}; +use typst::eval::{Module, Scope}; +use typst::font::{Font, FontWeight}; +use typst::model::{Guard, SequenceNode, StyledNode}; use unicode_math_class::MathClass; use self::ctx::*; diff --git a/library/src/math/op.rs b/library/src/math/op.rs index 772013bd..4eb9c48c 100644 --- a/library/src/math/op.rs +++ b/library/src/math/op.rs @@ -1,4 +1,4 @@ -use typst::model::Scope; +use typst::eval::Scope; use super::*; -- cgit v1.2.3