We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19986f commit 167e199Copy full SHA for 167e199
src/lintlist/mod.rs
@@ -2247,7 +2247,7 @@ vec![
2247
Lint {
2248
name: "str_to_string",
2249
group: "restriction",
2250
- desc: "using `to_string()` on a str, which should be `to_owned()`",
+ desc: "using `to_string()` on a `&str`, which should be `to_owned()`",
2251
deprecation: None,
2252
module: "str_to_string",
2253
},
@@ -2289,7 +2289,7 @@ vec![
2289
2290
name: "string_to_string",
2291
2292
- desc: "using `to_string()` on a String, which should be `clone()`",
+ desc: "using `to_string()` on a `String`, which should be `clone()`",
2293
2294
module: "string_to_string",
2295
0 commit comments