diff options
Diffstat (limited to 'support/texlab/crates/references/src/command.rs')
-rw-r--r-- | support/texlab/crates/references/src/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/references/src/command.rs b/support/texlab/crates/references/src/command.rs index 712da20b73..f4504641f2 100644 --- a/support/texlab/crates/references/src/command.rs +++ b/support/texlab/crates/references/src/command.rs @@ -32,7 +32,7 @@ pub(super) fn find_all(context: &mut ReferenceContext) -> Option<()> { .collect(); for command in &data.semantics.commands { - if command.text == &token.text()[1..] { + if command.text == token.text()[1..] { let kind = if defs.contains(command) { ReferenceKind::Definition } else { |