diff options
author | Norbert Preining <norbert@preining.info> | 2021-06-04 03:02:48 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-06-04 03:02:48 +0000 |
commit | a5ae129f3aa3a3a0aeaa21c55b75a1d543fe4111 (patch) | |
tree | fe5e1e212aec203e668df8581a17374cdde352a1 /support/texlab/src/syntax/latex/analysis/label_number.rs | |
parent | d231c6331f53a048d29c2f847254a9f56d5ee2dd (diff) |
CTAN sync 202106040302
Diffstat (limited to 'support/texlab/src/syntax/latex/analysis/label_number.rs')
-rw-r--r-- | support/texlab/src/syntax/latex/analysis/label_number.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/src/syntax/latex/analysis/label_number.rs b/support/texlab/src/syntax/latex/analysis/label_number.rs index de8d0dc1e1..93ad09523f 100644 --- a/support/texlab/src/syntax/latex/analysis/label_number.rs +++ b/support/texlab/src/syntax/latex/analysis/label_number.rs @@ -7,7 +7,7 @@ pub fn analyze_label_number( node: &latex::SyntaxNode, ) -> Option<()> { let number = latex::LabelNumber::cast(node)?; - let name = number.name()?.word()?.text().into(); + let name = number.name()?.key()?.to_string(); let text = number .text()? .syntax() |