Fix clippy
This commit is contained in:
parent
6255df55e5
commit
357ce13b89
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ impl Set {
|
||||||
let mut result = Self::default();
|
let mut result = Self::default();
|
||||||
|
|
||||||
for color in colors {
|
for color in colors {
|
||||||
let (count, color) = color.split_once(" ").unwrap();
|
let (count, color) = color.split_once(' ').unwrap();
|
||||||
let count = count.parse().unwrap();
|
let count = count.parse().unwrap();
|
||||||
match color {
|
match color {
|
||||||
"red" => result.r = count,
|
"red" => result.r = count,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue