mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-01 14:07:27 +00:00
This is done because `Cow` implements `Deref`. Therefore, to avoid conflicts with an inner type having a method of the same name, we use an associated method, like `Box::into_raw`.