mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-01-24 04:16:19 +02:00
d1ee2daf14
Intended to simplify the lesson by removing the need to figure out what the value is meant to be based on the tests. Previous commits (9ca08b8f2b
and114b54cbdb (diff-ce1c232ff0ddaff909351bb84cb5bff423b5b9e04f21fd4db7ffe443e598e174)
) removed the mathematical complexity, and I feel this addition is a needed change to further streamline the exercise.
Structs
Rust has three struct types: a classic C struct, a tuple struct, and a unit struct.