Downgrade inefficient_to_string to pedantic

This commit is contained in:
David Tolnay 2020-04-02 20:00:12 -07:00
parent 949a5bab33
commit e26ae7a0ff
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
3 changed files with 3 additions and 4 deletions

View file

@ -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`"
}