Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
unrealhoang
on Oct 25, 2020
|
parent
|
context
|
favorite
| on:
Fighting Rust's Expressive Type System
You can create and use Option without problem, your Option will be crate::Option, whereas Rust Option will be std::option::Option. std::option::Option<Option> works, yay.
arthurcolle
on Oct 25, 2020
[–]
I see, thanks. Really haven't ever used Rust for anything so didn't know exactly what namespacing was like. Sorry for the trite parent comment... :)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: