rust/library/alloc
Matthias Krüger 18910b7353
Rollup merge of #150619 - cvengler:move-cow-impl, r=Mark-Simulacrum
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.
2026-01-04 16:16:10 +01:00
..
src Rollup merge of #150619 - cvengler:move-cow-impl, r=Mark-Simulacrum 2026-01-04 16:16:10 +01:00
Cargo.toml Add panic=immediate-abort 2025-09-21 13:12:18 -04:00