Skip to content

Commit

Permalink
update lints
Browse files Browse the repository at this point in the history
  • Loading branch information
PunitLodha committed Nov 15, 2020
1 parent 28f5c66 commit 2b51739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lintlist/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@ vec![
Lint {
name: "str_to_string",
group: "restriction",
desc: "using `to_string()` on a str, which should be `to_owned()`",
desc: "using `to_string()` on a `&str`, which should be `to_owned()`",
deprecation: None,
module: "str_to_string",
},
Expand Down Expand Up @@ -2289,7 +2289,7 @@ vec![
Lint {
name: "string_to_string",
group: "restriction",
desc: "using `to_string()` on a String, which should be `clone()`",
desc: "using `to_string()` on a `String`, which should be `clone()`",
deprecation: None,
module: "string_to_string",
},
Expand Down

0 comments on commit 2b51739

Please sign in to comment.