Skip to content

Commit 8762d9f

Browse files
committed
small rename
1 parent f27e48c commit 8762d9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/day2/chumsky.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ fn parser() -> impl Parser<char, Game, Error = Simple<char>> {
7070
set
7171
});
7272

73-
let color_set = color_set.separated_by(just(';'));
73+
let color_sets = color_set.separated_by(just(';'));
7474

7575
head.ignore_then(id)
76-
.then(color_set)
76+
.then(color_sets)
7777
.then_ignore(end())
7878
.map(|(id, draws)| Game { id, draws })
7979
}

0 commit comments

Comments
 (0)