mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
05a753fe63
* fix(structs3): Add check to prevent naive implementation * chore(structs3): Add a missed newline after the test I added |
||
---|---|---|
.. | ||
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.