Welcome to Day 4

Today we will cover topics relating to building large-scale software in Rust:

  • Iterators: a deep dive on the Iterator trait.
  • Modules and visibility.
  • Testing.
  • Error handling: panics, Result, and the try operator ?.
  • Unsafe Rust: the escape hatch when you can’t express yourself in safe Rust.


Including 10 minute breaks, this session should take about 2 hours and 40 minutes. It contains:

Welcome3 minutes
Iterators45 minutes
Modules40 minutes
Testing45 minutes