mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
18910b7353
alloc: Move Cow impl to existing ones Right now, the `borrow.rs` module starts with a `Cow` impl, although most of them can be found below. This hurts code readability because there is `ToOwned` alongside its impl directly below it. Moving it to the others down below makes sense here, given that the entire enum depends on `ToOwned` anyways.