Closed
Description
The rules str_to_string
and string_to_string
have both been removed, so things like "foo".to_string()
can no longer be warned for. I find those warnings very valuable, and have been "manually" linting them in code reviews. In particular, it's useful to distinguish between converting something to a string (relatively rare. deserves special attention in code review) and managing memory so it has the right form (very common, can mostly be glossed over). I think it's reasonable that these hints are off-by-default, and in the pedantic category, but they are certainly something I'd turn on.
FWIW, I went through clippy to try and implement the above hints, while is when I found they had previously been implemented and removed.