858d96d63a
Extend `UNNECESSARY_TO_OWNED` to handle `split` Fixes https://github.com/rust-lang/rust-clippy/issues/9965. When you have `to_string().split('a')` or equivalent, it'll suggest to remove the `to_owned`/`to_string` part. r? `@flip1995` changelog: Extend `UNNECESSARY_TO_OWNED` to handle `split`