SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

Use multipart suggestion in `unnecessary_to_owned` (#13847)

It is related to https://github.com/rust-lang/rust-clippy/issues/13099

What was done:
- removed `@no-rustfix` from `tests/ui/unnecessary_to_owned.rs`
- checked for suggestions in `src/methods/unnecessary_to_owned.rs`
(there is already one multipart_suggestion, and I don't see any other)
- ran `cargo uibless`

I am new to Rust, and this is my first PR.

changelog: none
M
Manish Goregaokar committed
a775a1b41f3624bd970a08e74140db05d507476f
Committed by GitHub <noreply@github.com> on 12/19/2024, 1:25:29 AM