summaryrefslogtreecommitdiff
path: root/crates/typst-syntax/src/highlight.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-10-27 19:04:55 +0100
committerGitHub <noreply@github.com>2024-10-27 18:04:55 +0000
commitbe7cfc85d08c545abfac08098b7b33b4bd71f37e (patch)
treef4137fa2aaa57babae1f7603a9b2ed7e688f43d8 /crates/typst-syntax/src/highlight.rs
parentb8034a343831e8609aec2ec81eb7eeda57aa5d81 (diff)
Split out four new crates (#5302)
Diffstat (limited to 'crates/typst-syntax/src/highlight.rs')
-rw-r--r--crates/typst-syntax/src/highlight.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/typst-syntax/src/highlight.rs b/crates/typst-syntax/src/highlight.rs
index ddd29326..de8ed65c 100644
--- a/crates/typst-syntax/src/highlight.rs
+++ b/crates/typst-syntax/src/highlight.rs
@@ -411,9 +411,10 @@ fn highlight_html_impl(html: &mut String, node: &LinkedNode) {
#[cfg(test)]
mod tests {
- use super::*;
use std::ops::Range;
+ use super::*;
+
#[test]
fn test_highlighting() {
use Tag::*;