mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05: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 ( |
||
---|---|---|
.. | ||
README.md | ||
structs1.rs | ||
structs2.rs | ||
structs3.rs |
Structs
Rust has three struct types: a classic C struct, a tuple struct, and a unit struct.