mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 14:05:29 +00:00
Tracking issue: #110998. The [API guidelines][naming] describe `as` as used for borrowed -> borrowed operations, and `to_` for owned -> owned operations on `Copy` types. [naming]: https://rust-lang.github.io/api-guidelines/naming.html