mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
de028e2fb9
This is done because `to_owned` is very similarly named to `into_owned`, but the effect of calling those two methods is completely different. This creates confusion (stemming from the ambiguity of the 'owned' term in the context of `Cow`s) and might not be what the writer intended.