clippy: in tests, allow clippy::useless_vec

This is a perf issue, only.  If tests are too slow, we will notice and
ca speed them up.  We should optimise for clarity and convenience,
rather than speed.

Forbidding this can result in churn between vec![] and [] as tests are
updated and changed.
This commit is contained in:
Ian Jackson 2023-07-10 12:20:22 +01:00
parent 43bf89d540
commit 01cb7ee0a1
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ TEST_LINTS = """
#![allow(clippy::single_char_pattern)]
#![allow(clippy::unwrap_used)]
#![allow(clippy::unchecked_duration_subtraction)]
#![allow(clippy::useless_vec)]
"""
# ---------- some notes about lints we might use - NOT USED by any code here ----------