fix(structs1): Adjust wording (#573)

Co-authored-by: fmoko <mokou@posteo.de>
This commit is contained in:
Brock 2020-11-08 02:31:45 -07:00 committed by GitHub
parent 964b2a331d
commit 9334783da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,12 +225,13 @@ name = "structs1"
path = "exercises/structs/structs1.rs" path = "exercises/structs/structs1.rs"
mode = "test" mode = "test"
hint = """ hint = """
Rust has more than one type of struct. Both variants are used to package related data together. Rust has more than one type of struct. Three actually, all 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. 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. Tuple structs are basically just named tuples.
In this exercise you need to implement one of each kind. 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]] [[exercises]]
name = "structs2" name = "structs2"