diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-11-19 16:34:38 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-11-19 16:34:38 +0100 |
| commit | 2da619e17cb48efd468818ea35793b3f90b8aaea (patch) | |
| tree | e38012152337099a334c00247f2b27e406c9427f /crates/typst-library/src/math | |
| parent | ea987ef4a3cb1e16b73e9d97f4a736f3a611b275 (diff) | |
Streamline imports
Diffstat (limited to 'crates/typst-library/src/math')
| -rw-r--r-- | crates/typst-library/src/math/accent.rs | 2 | ||||
| -rw-r--r-- | crates/typst-library/src/math/align.rs | 2 | ||||
| -rw-r--r-- | crates/typst-library/src/math/matrix.rs | 2 | ||||
| -rw-r--r-- | crates/typst-library/src/math/op.rs | 2 |
4 files changed, 2 insertions, 6 deletions
diff --git a/crates/typst-library/src/math/accent.rs b/crates/typst-library/src/math/accent.rs index bedc5635..1b2d4793 100644 --- a/crates/typst-library/src/math/accent.rs +++ b/crates/typst-library/src/math/accent.rs @@ -1,4 +1,4 @@ -use super::*; +use crate::math::*; /// How much the accent can be shorter than the base. const ACCENT_SHORT_FALL: Em = Em::new(0.5); diff --git a/crates/typst-library/src/math/align.rs b/crates/typst-library/src/math/align.rs index bf81597c..4192e97b 100644 --- a/crates/typst-library/src/math/align.rs +++ b/crates/typst-library/src/math/align.rs @@ -1,4 +1,4 @@ -use super::*; +use crate::math::*; /// A math alignment point: `&`, `&&`. #[elem(title = "Alignment Point", LayoutMath)] diff --git a/crates/typst-library/src/math/matrix.rs b/crates/typst-library/src/math/matrix.rs index 4142d235..b5d21ed6 100644 --- a/crates/typst-library/src/math/matrix.rs +++ b/crates/typst-library/src/math/matrix.rs @@ -1,5 +1,3 @@ -use typst::model::Resolve; - use super::*; const DEFAULT_ROW_GAP: Em = Em::new(0.5); diff --git a/crates/typst-library/src/math/op.rs b/crates/typst-library/src/math/op.rs index 8f44b3e1..9e35d207 100644 --- a/crates/typst-library/src/math/op.rs +++ b/crates/typst-library/src/math/op.rs @@ -1,5 +1,3 @@ -use typst::eval::Scope; - use super::*; /// A text operator in an equation. |
