Downgrade inefficient_to_string to pedantic
This commit is contained in:
parent
949a5bab33
commit
e26ae7a0ff
3 changed files with 3 additions and 4 deletions
|
|
@ -698,7 +698,7 @@ declare_clippy_lint! {
|
|||
/// ["foo", "bar"].iter().map(|&s| s.to_string());
|
||||
/// ```
|
||||
pub INEFFICIENT_TO_STRING,
|
||||
perf,
|
||||
pedantic,
|
||||
"using `to_string` on `&&T` where `T: ToString`"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue