diff options
| author | bors <bors@rust-lang.org> | 2020-02-13 12:54:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-02-13 12:54:28 +0000 |
| commit | 96c2e62d5700a811f479d984cf57ffc0675ab44a (patch) | |
| tree | f42aef806657d12f1e4e7820a57e5b3de033fa72 /src | |
| parent | 06777d509e768a21b50f2061cafffabebeaed2bc (diff) | |
| parent | 385fd7cd0aa4d95a61962c20e62281c728447ea9 (diff) | |
| download | rust-96c2e62d5700a811f479d984cf57ffc0675ab44a.tar.gz rust-96c2e62d5700a811f479d984cf57ffc0675ab44a.zip | |
Auto merge of #5168 - lily-commure:chars_next_style, r=flip1995
Reclassify chars_next_cmp as a style lint. This makes it consistent with chars_last_cmp. changelog: none
Diffstat (limited to 'src')
| -rw-r--r-- | src/lintlist/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index d4f94a9b60a..06a1fca4fdd 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -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", |
