Skip to content

Commit

Permalink
Reclassify chars_next_cmp as a style lint.
Browse files Browse the repository at this point in the history
This makes it consistent with chars_last_cmp.
  • Loading branch information
lily-commure committed Feb 13, 2020
1 parent f8576c7 commit 7e0af69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lintlist/mod.rs
Expand Up @@ -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",
Expand Down

0 comments on commit 7e0af69

Please sign in to comment.