1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-16 23:08:36 +02:00
comprehensive-rust/src/welcome-day-2.md
2022-12-26 09:12:00 +01:00

423 B

Welcome to Day 2

Now that we have seen a fair amount of Rust, we will continue with:

  • Structs, enums, methods.

  • Pattern matching: destructuring enums, structs, and arrays.

  • Control flow constructs: if, if let, while, while let, break, and continue.

  • The Standard Library: String, Option and Result, Vec, HashMap, Rc and Arc.

  • Modules: visibility, paths, and filesystem hierarchy.