diff options
| author | Mica White <botahamec@outlook.com> | 2026-09-27 15:48:03 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-09-27 15:48:03 -0400 |
| commit | 35f6fc17d0c98f424e01904b8856cf42c80bcfd3 (patch) | |
| tree | ba99ada4ac6e149c00e5d820b9c5f65e82fed980 /src/tokenize.rs | |
| parent | 8399983fd45bc0f11eac9def280c0833ffb93c04 (diff) | |
Add buggy diagnostics
Diffstat (limited to 'src/tokenize.rs')
| -rw-r--r-- | src/tokenize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tokenize.rs b/src/tokenize.rs index 43ad305..a8e83c8 100644 --- a/src/tokenize.rs +++ b/src/tokenize.rs @@ -52,7 +52,7 @@ pub enum AttributeTokenType<'a> { impl From<Span> for miette::SourceSpan { fn from(value: Span) -> Self { - miette::SourceSpan::from((value.start, value.start - value.end)) + miette::SourceSpan::from((value.start, value.end - value.start)) } } |
