Skip to content

Commit

Permalink
fix: compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Aug 25, 2024
1 parent 9fdfcb8 commit 86c175b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/reflexo-typst/src/exporter/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ impl FullTextDigest {
match item {
Group(g) => Self::export_frame(f, &g.frame),
Text(t) => f.write_str(t.text.as_str()),
#[cfg(not(feature = "no-content-hint"))]
Meta(ContentHint(c), _) => f.write_char(*c),
Meta(Link(..) | Elem(..) | Hide, _) | Shape(..) | Image(..) => Ok(()),
}
Expand Down

0 comments on commit 86c175b

Please sign in to comment.