change it to nursery category

This commit is contained in:
Centri3 2023-04-20 01:19:26 -05:00
parent 97c10075ec
commit 4af3ac1cd8

View File

@ -22,7 +22,7 @@ declare_clippy_lint! {
/// TODO /// TODO
#[clippy::version = "1.70.0"] #[clippy::version = "1.70.0"]
pub EXCESSIVE_INDENTATION, pub EXCESSIVE_INDENTATION,
style, nursery,
"check for lines intended beyond a certain threshold" "check for lines intended beyond a certain threshold"
} }
declare_clippy_lint! { declare_clippy_lint! {
@ -42,7 +42,7 @@ declare_clippy_lint! {
/// TODO /// TODO
#[clippy::version = "1.70.0"] #[clippy::version = "1.70.0"]
pub EXCESSIVE_WIDTH, pub EXCESSIVE_WIDTH,
style, nursery,
"check for lines longer than a certain threshold" "check for lines longer than a certain threshold"
} }
impl_lint_pass!(ExcessiveWidth => [EXCESSIVE_INDENTATION, EXCESSIVE_WIDTH]); impl_lint_pass!(ExcessiveWidth => [EXCESSIVE_INDENTATION, EXCESSIVE_WIDTH]);