diff options
| author | Mingwei Samuel <mingwei.samuel@gmail.com> | 2023-07-12 15:01:37 -0700 |
|---|---|---|
| committer | Mingwei Samuel <mingwei.samuel@gmail.com> | 2023-07-12 15:28:46 -0700 |
| commit | 4102a309d782522a2a6f378ec748cb3a3a4fed8d (patch) | |
| tree | b03ba7341cf62a7084193aeec78bb72da14af59b | |
| parent | 3be3fb7231677e043317ef026989584ba9a23e37 (diff) | |
| download | rust-4102a309d782522a2a6f378ec748cb3a3a4fed8d.tar.gz rust-4102a309d782522a2a6f378ec748cb3a3a4fed8d.zip | |
[`tuple_array_conversions`]: move from `complexity` to `nursery`
Due to outstanding issues: * https://github.com/rust-lang/rust-clippy/issues/11082 * https://github.com/rust-lang/rust-clippy/issues/11085 * https://github.com/rust-lang/rust-clippy/issues/11100 (https://github.com/rust-lang/rust-clippy/pull/11105) * https://github.com/rust-lang/rust-clippy/issues/11124 * https://github.com/rust-lang/rust-clippy/issues/11144
| -rw-r--r-- | clippy_lints/src/tuple_array_conversions.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clippy_lints/src/tuple_array_conversions.rs b/clippy_lints/src/tuple_array_conversions.rs index bd983306508..258617467e9 100644 --- a/clippy_lints/src/tuple_array_conversions.rs +++ b/clippy_lints/src/tuple_array_conversions.rs @@ -16,8 +16,8 @@ declare_clippy_lint! { /// Checks for tuple<=>array conversions that are not done with `.into()`. /// /// ### Why is this bad? - /// It's unnecessary complexity. `.into()` works for tuples<=>arrays at or below 12 elements and - /// conveys the intent a lot better, while also leaving less room for hard to spot bugs! + /// It may be unnecessary complexity. `.into()` works for converting tuples + /// <=> arrays of up to 12 elements and may convey intent more clearly. /// /// ### Example /// ```rust,ignore @@ -31,7 +31,7 @@ declare_clippy_lint! { /// ``` #[clippy::version = "1.72.0"] pub TUPLE_ARRAY_CONVERSIONS, - complexity, + pedantic, "checks for tuple<=>array conversions that are not done with `.into()`" } impl_lint_pass!(TupleArrayConversions => [TUPLE_ARRAY_CONVERSIONS]); |
