summaryrefslogtreecommitdiffstats
path: root/src/exec/token.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec/token.rs')
-rw-r--r--src/exec/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec/token.rs b/src/exec/token.rs
index 2dc37ce..b96c3a3 100644
--- a/src/exec/token.rs
+++ b/src/exec/token.rs
@@ -41,7 +41,7 @@ pub(super) fn tokenize(input: &str) -> ArgumentTemplate {
let mut remaining = input;
let mut buf = String::new();
let placeholders = PLACEHOLDERS.get_or_init(|| {
- AhoCorasick::new(&["{{", "}}", "{}", "{/}", "{//}", "{.}", "{/.}"]).unwrap()
+ AhoCorasick::new(["{{", "}}", "{}", "{/}", "{//}", "{.}", "{/.}"]).unwrap()
});
while let Some(m) = placeholders.find(remaining) {
match m.pattern().as_u32() {