Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7e0af69

Browse files
committed
Reclassify chars_next_cmp as a style lint.
This makes it consistent with chars_last_cmp.
1 parent f8576c7 commit 7e0af69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ pub const ALL_LINTS: [Lint; 355] = [
191191
},
192192
Lint {
193193
name: "chars_next_cmp",
194-
group: "complexity",
194+
group: "style",
195195
desc: "using `.chars().next()` to check if a string starts with a char",
196196
deprecation: None,
197197
module: "methods",

0 commit comments

Comments
 (0)