about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEduardo Broto <ebroto@tutanota.com>2020-10-08 00:03:26 +0200
committerEduardo Broto <ebroto@tutanota.com>2020-10-30 23:29:44 +0100
commitd958269fe5afb26ee5026be5bc0cea459593bccf (patch)
tree8008702d7b6444095cc92d6471f2416b2b888bdb /src
parentc1eb8ceede6538590a39721c65ee2f943ceffe40 (diff)
downloadrust-d958269fe5afb26ee5026be5bc0cea459593bccf.tar.gz
rust-d958269fe5afb26ee5026be5bc0cea459593bccf.zip
Rename single_char_push_str to single_char_add_str
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index 016bda77ef5..b22bb074238 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -2147,16 +2147,16 @@ vec![
         module: "non_expressive_names",
     },
     Lint {
-        name: "single_char_pattern",
-        group: "perf",
-        desc: "using a single-character str where a char could be used, e.g., `_.split(\"x\")`",
+        name: "single_char_add_str",
+        group: "style",
+        desc: "`push_str()` or `insert_str()` used with a single-character string literal as parameter",
         deprecation: None,
         module: "methods",
     },
     Lint {
-        name: "single_char_push_str",
-        group: "style",
-        desc: "`push_str()` used with a single-character string literal as parameter",
+        name: "single_char_pattern",
+        group: "perf",
+        desc: "using a single-character str where a char could be used, e.g., `_.split(\"x\")`",
         deprecation: None,
         module: "methods",
     },