Commit 1eccb3c
committed
Resolve unnecessary_to_owned clippy lint in test suite
error: unnecessary use of `to_vec`
--> test_suite/tests/test_de.rs:251:12
|
251 | .chain(ignorable_tokens.to_vec().into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `ignorable_tokens.iter().copied()`
|
= note: `-D clippy::unnecessary-to-owned` implied by `-D clippy::all`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned1 parent 77ae1c3 commit 1eccb3c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
0 commit comments