diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2024-08-05 06:03:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 10:03:23 +0000 |
| commit | d06a26e3d868a5e80686f692fba8e5bbd5104922 (patch) | |
| tree | 307d927e198c885da539a04d4aba4747fa896aeb | |
| parent | 5e187a5d050a8c00a136e2db59a9f072aa14310e (diff) | |
Export `ty` and `scope` macros before mod decls to sidestep a rust-analyzer issue (#4619)
| -rw-r--r-- | crates/typst/src/foundations/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/typst/src/foundations/mod.rs b/crates/typst/src/foundations/mod.rs index f9dfff4f..2e1f5c82 100644 --- a/crates/typst/src/foundations/mod.rs +++ b/crates/typst/src/foundations/mod.rs @@ -4,6 +4,8 @@ pub mod calc; pub mod repr; pub mod sys; +pub use typst_macros::{scope, ty}; + mod args; mod array; mod auto; |
