...

/

Organizing Imports with a Prelude

Organizing Imports with a Prelude

Learn how to set up the map module.

We'll cover the following...

Prefixing every map access with map:: or crate::map:: becomes continuously cumbersome as we add more modules.

When we access a Rust library, it’s common for the library author to have placed everything we need in a convenient prelude. We used ...