mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Reclassify chars_next_cmp as a style lint.
This makes it consistent with chars_last_cmp.
This commit is contained in:
parent
f8576c7bf4
commit
7e0af69f1c
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user