Skip to content

Commit ecbc931

Browse files
authored
resistor-color: correct and clarify instructions (#1552)
The crates were associated with the wrong task numbers. State that Debug will help with the second. closes: #1499
1 parent 8a714ab commit ecbc931

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

exercises/concept/resistor-color/.docs/instructions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ The goal of this exercise is to create a way:
3131
- to convert the numerical value into a string representing color
3232
- to list the different band colors
3333

34-
For tasks number two and three, you will need external crates [`enum-iterator`](https://docs.rs/enum-iterator/1.1.1/enum_iterator/) and [`int-enum`](https://docs.rs/int-enum/0.4.0/int_enum/), which are included in this exercise's `Cargo.toml`. Be sure to check the crates' documentation to learn how to use them.
34+
For task number one, you will need the external crate [`int-enum`](https://docs.rs/int-enum/0.4.0/int_enum/) and for task number three, you'll need [`enum-iterator`](https://docs.rs/enum-iterator/1.1.1/enum_iterator/).
35+
They're both already included in this exercise's `Cargo.toml`.
36+
Be sure to check the crates' documentation to learn how to use them.
37+
You can look into the default implementation of the Debug trait for Enums to complete task number two.
3538

3639
Mnemonics map the colors to the numbers, that, when stored as an array, happen to map to their index in the array: Better Be Right Or Your Great Big Values Go Wrong.
3740

0 commit comments

Comments
 (0)