Rust modules

From wikinotes
Revision as of 21:58, 6 February 2023 by Will (talk | contribs)

Modules are rust libraries.
The std::prelude module is included in the scope of every program.

use std::io;   // imports a module