3 ms·
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>
by unrealhoang 6y ago
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 6y agoI 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... :)