diff options
| author | mo8it <mo8it@proton.me> | 2024-06-21 22:22:37 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-06-21 22:22:37 +0200 |
| commit | ef842d3a946f477a32e26b9674cc5488cd629030 (patch) | |
| tree | 2c6e943c425b3685dd432ccace37f0e3d16e235d /rustlings-macros/info.toml | |
| parent | d768353806f905989b4cc29cd7a97891cbbf8ec3 (diff) | |
structs1 solution
Diffstat (limited to 'rustlings-macros/info.toml')
| -rw-r--r-- | rustlings-macros/info.toml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index d6236c5..81b9895 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -402,15 +402,14 @@ hint = """ 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 regular structs. These are named collections of related data stored in +fields. Tuple structs are basically just named tuples. -Finally, Unit-like structs. These don't have any 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""" |
