summaryrefslogtreecommitdiff
path: root/crates/typst-syntax/src/highlight.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-19 16:34:38 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-19 16:34:38 +0100
commit2da619e17cb48efd468818ea35793b3f90b8aaea (patch)
treee38012152337099a334c00247f2b27e406c9427f /crates/typst-syntax/src/highlight.rs
parentea987ef4a3cb1e16b73e9d97f4a736f3a611b275 (diff)
Streamline imports
Diffstat (limited to 'crates/typst-syntax/src/highlight.rs')
-rw-r--r--crates/typst-syntax/src/highlight.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/typst-syntax/src/highlight.rs b/crates/typst-syntax/src/highlight.rs
index cdf6a13d..99fbf4fe 100644
--- a/crates/typst-syntax/src/highlight.rs
+++ b/crates/typst-syntax/src/highlight.rs
@@ -404,9 +404,8 @@ fn highlight_html_impl(html: &mut String, node: &LinkedNode) {
#[cfg(test)]
mod tests {
- use std::ops::Range;
-
use super::*;
+ use std::ops::Range;
#[test]
fn test_highlighting() {