Modules Prelude
-
We have access to
Option
orBox
everywhere without a use to import them because of the module prelude in the standard library -
Anything that is exported in
std::prelude::*
is automatically available to every part of Rust
We have access to Option
or Box
everywhere without a use to import them because of the module prelude in the standard library
Anything that is exported in std::prelude::*
is automatically available to every part of Rust