3 ms·
> What the heck does "Into" mean to a Rust developer? Into means it will consume the value (you don't have it anymore): https://doc.rust-lang.org/1.0.0/style/
by littlestymaar 6y ago
> What the heck does "Into" mean to a Rust developer?
Into means it will consume the value (you don't have it anymore):
https://doc.rust-lang.org/1.0.0/style/style/naming/conversions.html https://doc.rust-lang.org/1.0.0/style/style/naming/conversio...
- steveklabnik 6y ago(Please note this document is outdated; you’ve linked to the 1.0.0 docs. This particular page is pretty ok but we don’t ship this at all anymore, and haven’t for years.)
- ChrisSD 6y agoI think the maintained equivalent would be in the Rust API guidelines: https://rust-lang.github.io/api-guidelines/naming.html#ad-hoc-conversions-follow-as_-to_-into_-conventions-c-conv https://rust-lang.github.io/api-guidelines/naming.html#ad-ho...