summaryrefslogtreecommitdiff
path: root/src/bindings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings.rs')
-rw-r--r--src/bindings.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings.rs b/src/bindings.rs
index 8e3531b..98379c9 100644
--- a/src/bindings.rs
+++ b/src/bindings.rs
@@ -787,7 +787,7 @@ mod test_bindings {
lazy_static! {
static ref KIND_PATTERNS: HashMap<CaptureType, Regex> = {
let mut map = HashMap::new();
- for ty in (&[
+ for ty in ([
CaptureType::Word,
CaptureType::Text,
CaptureType::Int,