Skip to content

Commit 167e199

Browse files
committed
update lints
1 parent a19986f commit 167e199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lintlist/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,7 +2247,7 @@ vec![
22472247
Lint {
22482248
name: "str_to_string",
22492249
group: "restriction",
2250-
desc: "using `to_string()` on a str, which should be `to_owned()`",
2250+
desc: "using `to_string()` on a `&str`, which should be `to_owned()`",
22512251
deprecation: None,
22522252
module: "str_to_string",
22532253
},
@@ -2289,7 +2289,7 @@ vec![
22892289
Lint {
22902290
name: "string_to_string",
22912291
group: "restriction",
2292-
desc: "using `to_string()` on a String, which should be `clone()`",
2292+
desc: "using `to_string()` on a `String`, which should be `clone()`",
22932293
deprecation: None,
22942294
module: "string_to_string",
22952295
},

0 commit comments

Comments
 (0)