Move format_push_string and format_collect to pedantic (#13894)

Closes #11434 by moving `format_push_string` and `format_collect` to
pedantic.

changelog: Move `format_push_string` and `format_collect` to pedantic
This commit is contained in:
Catherine Flores 2025-01-28 19:32:24 +00:00 committed by GitHub
commit e02c8857e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 21 additions and 16 deletions

View file

@ -3518,7 +3518,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.73.0"]
pub FORMAT_COLLECT,
perf,
pedantic,
"`format!`ing every element in a collection, then collecting the strings into a new `String`"
}