mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
configurably allow `useless_vec` in tests This adds a `àllow-useless-vec-in-test` configuration which, when set to `true` will allow the `useless_vec` lint in `#[test]` functions and code within `#[cfg(test)]`. It also moves a `is_in_test` helper to `clippy_utils`. --- changelog: configurably allow [`useless_vec`] in test code |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |