summaryrefslogtreecommitdiff
path: root/support/texlab/crates/commands/src/placeholders.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/commands/src/placeholders.rs')
-rw-r--r--support/texlab/crates/commands/src/placeholders.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/crates/commands/src/placeholders.rs b/support/texlab/crates/commands/src/placeholders.rs
index 913af33edf..9994420f5d 100644
--- a/support/texlab/crates/commands/src/placeholders.rs
+++ b/support/texlab/crates/commands/src/placeholders.rs
@@ -17,7 +17,7 @@ pub fn replace_placeholders(args: &[String], pairs: &[(char, &str)]) -> Vec<Stri
if ch == '%' {
match chars.next() {
Some(key) => match map.get(&key) {
- Some(value) => output.push_str(&value),
+ Some(value) => output.push_str(value),
None => output.push(key),
},
None => output.push('%'),