fix: error

This commit is contained in:
Myriad-Dreamin 2025-02-02 19:11:41 +08:00
parent fe5cf9b0c3
commit b746520a80
3 changed files with 3 additions and 1 deletions

1
Cargo.lock generated
View file

@ -4653,6 +4653,7 @@ dependencies = [
"serde",
"serde_json",
"tinymist-assets 0.12.18 (registry+https://github.com/rust-lang/crates.io-index)",
"tinymist-std",
"tokio",
"typst",
"typst-assets",

View file

@ -13,6 +13,7 @@ rust-version.workspace = true
[dependencies]
typst.workspace = true
tinymist-assets.workspace = true
tinymist-std.workspace = true
typst-assets.workspace = true
comemo.workspace = true

View file

@ -1,8 +1,8 @@
use std::num::NonZeroUsize;
use reflexo_typst::debug_loc::DocumentPosition;
use reflexo_typst::TypstDocument;
use serde::{Deserialize, Serialize};
use tinymist_std::typst::TypstDocument;
use typst::foundations::{Content, NativeElement, Packed, StyleChain};
use typst::introspection::Introspector;
use typst::model::HeadingElem;