mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
87efce4fa2
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`. |
||
---|---|---|
.. | ||
clippy.toml | ||
useless_vec.fixed | ||
useless_vec.rs | ||
useless_vec.stderr |