diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-11-29 16:03:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-29 15:03:08 +0000 |
| commit | d40c8ab6ab4f7051a12e5ce9433439f3a5afb99f (patch) | |
| tree | 8e5b2972b1c5ede14a05ae5525c4a07fb3dda300 /crates/typst-ide/src/complete.rs | |
| parent | 055263ee9f2253de9f176970df9d47d3b2bd2467 (diff) | |
Compile-time `PicoStr` interning (#5491)
Diffstat (limited to 'crates/typst-ide/src/complete.rs')
| -rw-r--r-- | crates/typst-ide/src/complete.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-ide/src/complete.rs b/crates/typst-ide/src/complete.rs index a2791e07..510db54c 100644 --- a/crates/typst-ide/src/complete.rs +++ b/crates/typst-ide/src/complete.rs @@ -1254,11 +1254,11 @@ impl<'a> CompletionContext<'a> { eco_format!( "{}{}{}", if open { "<" } else { "" }, - label.as_str(), + label.resolve(), if close { ">" } else { "" } ) }), - label: label.as_str().into(), + label: label.resolve().as_str().into(), detail, }); } |
