mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-27 04:18:10 -05:00
72aaa15e6a
The test description says "at least five types of fruit", but the test itself is checking for exactly five types of fruit, which was a bit misleading for newcomers like me :) A simple change from "==" to ">=" should do the trick and successfully check for the "at least" condition. |
||
---|---|---|
.. | ||
clippy | ||
collections | ||
conversions | ||
enums | ||
error_handling | ||
functions | ||
generics | ||
if | ||
macros | ||
modules | ||
move_semantics | ||
option | ||
primitive_types | ||
standard_library_types | ||
strings | ||
structs | ||
tests | ||
threads | ||
traits | ||
variables | ||
quiz1.rs | ||
quiz2.rs | ||
quiz3.rs | ||
quiz4.rs | ||
README.md |
Exercise to Book Chapter mapping
Exercise | Book Chapter |
---|---|
variables | §3.1 |
functions | §3.3 |
if | §3.5 |
move_semantics | §4.1 |
primitive_types | §4.3 |
structs | §5.1 |
enums | §6 |
modules | §7.2 |
collections | §8.1 |
strings | §8.2 |
error_handling | §9 |
generics | §10 |
option | §10.1 |
traits | §10.2 |
tests | §11.1 |
standard_library_types | §13.2 |
threads | §16.1 |
macros | §19.6 |
clippy | n/a |
conversions | n/a |