diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-11-10 11:50:46 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-11-12 09:02:48 +0200 |
commit | d1c2cd39f5a9a1fcfbf6b96af3ab18cc65518462 (patch) | |
tree | 5704d9ebffc1d44a338b46840878a5cfb8537809 /src/bindings.rs | |
parent | c0ed7a3b60ad7b98fb7953443a0e0cceb2298666 (diff) | |
download | subplot-d1c2cd39f5a9a1fcfbf6b96af3ab18cc65518462.tar.gz |
chore: fix unnecessary borrows found by clippy
Sponsored-by: author
Diffstat (limited to 'src/bindings.rs')
-rw-r--r-- | src/bindings.rs | 2 |
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, |