diff options
| author | Brock <58987761+13r0ck@users.noreply.github.com> | 2020-11-08 02:31:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-08 10:31:45 +0100 |
| commit | 9334783da31d821cc59174fbe8320df95828926c (patch) | |
| tree | 50900091a26235e2cf1aecf482d64d38aaf1595f /info.toml | |
| parent | 964b2a331de2c98c1038fd859ac7e7c0e956236a (diff) | |
fix(structs1): Adjust wording (#573)
Co-authored-by: fmoko <mokou@posteo.de>
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -225,12 +225,13 @@ name = "structs1" path = "exercises/structs/structs1.rs" mode = "test" hint = """ -Rust has more than one type of struct. Both variants are used to package related data together. -On the one hand, there are normal, or classic, structs. These are named collections of related data stored in fields. -The other variant is tuple structs. Basically just named tuples. -In this exercise you need to implement one of each kind. +Rust has more than one type of struct. Three actually, all variants are used to package related data together. +There are normal (or classic) structs. These are named collections of related data stored in fields. +Tuple structs are basically just named tuples. +Finally, Unit structs. These don't have and fields and are useful for generics. -Read more about structs in The Book: https://doc.rust-lang.org/stable/book/ch05-00-structs.html""" +In this exercise you need to complete and implement one of each kind. +Read more about structs in The Book: https://doc.rust-lang.org/book/ch05-01-defining-structs.html""" [[exercises]] name = "structs2" |
