Closed
Description
Is your feature request related to a problem or challenge?
#15999 changed the string format style as follows to improve readability:
// Before
.ok_or_else(|| format!("Invalid {} '{}'", label, size))?;
// After
.ok_or_else(|| format!("Invalid {label} '{size}'"))?;
As a follow-up task, it would be great to add a linter rule to enforce such style.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response