diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-11-19 16:34:38 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-11-19 16:34:38 +0100 |
| commit | 2da619e17cb48efd468818ea35793b3f90b8aaea (patch) | |
| tree | e38012152337099a334c00247f2b27e406c9427f /crates/typst-syntax/src/span.rs | |
| parent | ea987ef4a3cb1e16b73e9d97f4a736f3a611b275 (diff) | |
Streamline imports
Diffstat (limited to 'crates/typst-syntax/src/span.rs')
| -rw-r--r-- | crates/typst-syntax/src/span.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-syntax/src/span.rs b/crates/typst-syntax/src/span.rs index d715af1c..5b8fd693 100644 --- a/crates/typst-syntax/src/span.rs +++ b/crates/typst-syntax/src/span.rs @@ -2,7 +2,7 @@ use std::fmt::{self, Debug, Formatter}; use std::num::NonZeroU64; use std::ops::Range; -use super::FileId; +use crate::FileId; /// A unique identifier for a syntax node. /// @@ -119,7 +119,7 @@ impl<T: Debug> Debug for Spanned<T> { #[cfg(test)] mod tests { - use super::{FileId, Span}; + use crate::{FileId, Span}; #[test] fn test_span_encoding() { |
