Skip to content

Commit 4102a30

Browse files
committed
[tuple_array_conversions]: move from complexity to nursery
Due to outstanding issues: * #11082 * #11085 * #11100 (#11105) * #11124 * #11144
1 parent 3be3fb7 commit 4102a30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/tuple_array_conversions.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ declare_clippy_lint! {
1616
/// Checks for tuple<=>array conversions that are not done with `.into()`.
1717
///
1818
/// ### Why is this bad?
19-
/// It's unnecessary complexity. `.into()` works for tuples<=>arrays at or below 12 elements and
20-
/// conveys the intent a lot better, while also leaving less room for hard to spot bugs!
19+
/// It may be unnecessary complexity. `.into()` works for converting tuples
20+
/// <=> arrays of up to 12 elements and may convey intent more clearly.
2121
///
2222
/// ### Example
2323
/// ```rust,ignore
@@ -31,7 +31,7 @@ declare_clippy_lint! {
3131
/// ```
3232
#[clippy::version = "1.72.0"]
3333
pub TUPLE_ARRAY_CONVERSIONS,
34-
complexity,
34+
pedantic,
3535
"checks for tuple<=>array conversions that are not done with `.into()`"
3636
}
3737
impl_lint_pass!(TupleArrayConversions => [TUPLE_ARRAY_CONVERSIONS]);

0 commit comments

Comments
 (0)