Skip to content

Commit d248051

Browse files
sergey-tihonpetertseng
authored andcommitted
resistor-color: Use int-enum 0.5.0, up from 0.4.0
Fixes compatibility with rust-analyzer rust-lang/rust-analyzer#13347 Juici/int-enum-rs#4
1 parent 0974e72 commit d248051

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: exercises/concept/resistor-color/.docs/instructions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ 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 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/).
34+
For task number one, you will need the external crate [`int-enum`](https://docs.rs/int-enum/0.5.0/int_enum/) and for task number three, you'll need [`enum-iterator`](https://docs.rs/enum-iterator/1.1.1/enum_iterator/).
3535
They're both already included in this exercise's `Cargo.toml`.
3636
Be sure to check the crates' documentation to learn how to use them.
3737
You can look into the default implementation of the Debug trait for Enums to complete task number two.

Diff for: exercises/concept/resistor-color/.docs/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ You will often see external packages being referred to as "crates" in Rust. A cr
66

77
Most of the time, adding an external dependency is as simple as adding a line to your `Cargo.toml` file.
88

9-
In this exercise, [`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/) dependencies were added for you.
9+
In this exercise, [`enum-iterator`](https://docs.rs/enum-iterator/1.1.1/enum_iterator/) and [`int-enum`](https://docs.rs/int-enum/0.5.0/int_enum/) dependencies were added for you.

Diff for: exercises/concept/resistor-color/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ name = "resistor-color"
44
version = "1.0.0"
55

66
[dependencies]
7-
int-enum = "0.4.0"
7+
int-enum = "0.5.0"
88
enum-iterator = "1.1.1"

0 commit comments

Comments
 (0)