mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
4771a7b9e7
Missed a blank line, which causes the prompt incorrect like below: ```rust You can keep working on this exercise, or jump into the next one by removing the `I AM NOT DONE` comment: 6 | // Make this code compile by using the proper Rc primitives to express that the sun has multiple owners. 7 | 8 | // I AM NOT DONE 9 | use std::rc::Rc; ``` |
||
---|---|---|
.. | ||
clippy | ||
conversions | ||
enums | ||
error_handling | ||
functions | ||
generics | ||
hashmaps | ||
if | ||
intro | ||
iterators | ||
lifetimes | ||
macros | ||
modules | ||
move_semantics | ||
options | ||
primitive_types | ||
smart_pointers | ||
strings | ||
structs | ||
tests | ||
threads | ||
traits | ||
variables | ||
vecs | ||
quiz1.rs | ||
quiz2.rs | ||
quiz3.rs | ||
README.md |
Exercise to Book Chapter mapping
Exercise | Book Chapter |
---|---|
variables | §3.1 |
functions | §3.3 |
if | §3.5 |
primitive_types | §3.2, §4.3 |
vecs | §8.1 |
move_semantics | §4.1-2 |
structs | §5.1, §5.3 |
enums | §6, §18.3 |
strings | §8.2 |
modules | §7 |
hashmaps | §8.3 |
options | §10.1 |
error_handling | §9 |
generics | §10 |
traits | §10.2 |
tests | §11.1 |
lifetimes | §10.3 |
iterators | §13.2-4 |
threads | §16.1-3 |
smart_pointers | §15, §16.3 |
macros | §19.6 |
clippy | §21.4 |
conversions | n/a |