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:
parent
43bf89d540
commit
01cb7ee0a1
|
@ -61,6 +61,7 @@ TEST_LINTS = """
|
||||||
#![allow(clippy::single_char_pattern)]
|
#![allow(clippy::single_char_pattern)]
|
||||||
#![allow(clippy::unwrap_used)]
|
#![allow(clippy::unwrap_used)]
|
||||||
#![allow(clippy::unchecked_duration_subtraction)]
|
#![allow(clippy::unchecked_duration_subtraction)]
|
||||||
|
#![allow(clippy::useless_vec)]
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# ---------- some notes about lints we might use - NOT USED by any code here ----------
|
# ---------- some notes about lints we might use - NOT USED by any code here ----------
|
||||||
|
|
Loading…
Reference in New Issue