diff options
Diffstat (limited to 'support/texlab/crates/completion/src/providers/argument.rs')
-rw-r--r-- | support/texlab/crates/completion/src/providers/argument.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/completion/src/providers/argument.rs b/support/texlab/crates/completion/src/providers/argument.rs index 6637cecdd6..a9c8f4304b 100644 --- a/support/texlab/crates/completion/src/providers/argument.rs +++ b/support/texlab/crates/completion/src/providers/argument.rs @@ -37,7 +37,7 @@ pub fn complete_arguments<'a>( .filter(|(i, _)| *i == index) { for arg in ¶m.0 { - if let Some(score) = builder.matcher.score(&arg.name, &cursor.text) { + if let Some(score) = builder.matcher.score(arg.name, &cursor.text) { let data = CompletionItemData::Argument(ArgumentData(arg)); builder .items |