Reclassify chars_next_cmp as a style lint.

This makes it consistent with chars_last_cmp.
This commit is contained in:
Lily Chung 2020-02-12 16:50:29 -08:00
parent f8576c7bf4
commit 7e0af69f1c

View File

@ -191,7 +191,7 @@ pub const ALL_LINTS: [Lint; 355] = [
},
Lint {
name: "chars_next_cmp",
group: "complexity",
group: "style",
desc: "using `.chars().next()` to check if a string starts with a char",
deprecation: None,
module: "methods",