mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
fix(info): Fix typo (#635)
Co-authored-by: John Baber-Lucero <git@frundle.com>
This commit is contained in:
parent
24ea42ce61
commit
cddc1e86e7
|
@ -284,7 +284,7 @@ hint = """
|
||||||
Rust has more than one type of struct. Three actually, all 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.
|
||||||
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.
|
||||||
Tuple structs are basically just named tuples.
|
Tuple structs are basically just named tuples.
|
||||||
Finally, Unit structs. These don't have and fields and are useful for generics.
|
Finally, Unit structs. These don't have any fields and are useful for generics.
|
||||||
|
|
||||||
In this exercise you need to complete and implement one of each kind.
|
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"""
|
Read more about structs in The Book: https://doc.rust-lang.org/book/ch05-01-defining-structs.html"""
|
||||||
|
|
Loading…
Reference in a new issue