mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-03 17:58:17 +00:00
dev: update comment
This commit is contained in:
parent
a7b6c8caf1
commit
505164f210
1 changed files with 3 additions and 3 deletions
|
@ -110,9 +110,9 @@ fn diagnostic_range(
|
|||
typst_span: TypstSpan,
|
||||
position_encoding: PositionEncoding,
|
||||
) -> LspRange {
|
||||
// Due to #241 and maybe typst/typst#2035, we sometimes fail to find the span.
|
||||
// In that case, we use a default span as a better alternative to
|
||||
// panicking.
|
||||
// Due to nvaner/typst-lsp#241 and maybe typst/typst#2035, we sometimes fail to
|
||||
// find the span. In that case, we use a default span as a better
|
||||
// alternative to panicking.
|
||||
//
|
||||
// This may have been fixed after Typst 0.7.0, but it's still nice to avoid
|
||||
// panics in case something similar reappears.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue