diff options
| author | bors <bors@rust-lang.org> | 2023-12-23 11:36:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-23 11:36:53 +0000 |
| commit | 858d96d63a9bf11037eef2e252be5c4bc3570bec (patch) | |
| tree | 107e254eafcc798a5101e9a2156cd678571e2977 /tests/codegen/src-hash-algorithm | |
| parent | 2ddcfb8531a4ea55bf06ed1c8bd080e729617615 (diff) | |
| parent | 238c5f9f2781c177c1be5e26285e586de6a762e1 (diff) | |
| download | rust-858d96d63a9bf11037eef2e252be5c4bc3570bec.tar.gz rust-858d96d63a9bf11037eef2e252be5c4bc3570bec.zip | |
Auto merge of #11871 - GuillaumeGomez:UNNECESSARY_TO_OWNED-split, r=llogiq
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`
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
