Organization and errors
6 lessons in the Rust course.
Full Rust course · Search this topic · Programming
- FunctionsWrite functions with typed parameters and return values.
- ModulesOrganize code with mod, use, and visibility rules.
- CratesAdd dependencies from crates.io with Cargo.toml.
- Error HandlingPropagate recoverable errors with Result and the ? operator.
- Traits IntroShare behavior across types with traits.
- Cargo TestWrite unit tests and run them with cargo test.