Skip to content

Commit

Permalink
Remove unnecessary !!
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Nov 5, 2023
1 parent 090b16e commit b7aba8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions day2_with_more_c3_features.c3
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fn void part1()
{
@pool()
{
Choice[2] c = choicesFromString(io::treadline(&f)!!)!!;
Choice[2] c = choicesFromString(io::treadline(&f))!!;
points += c[1].points + c[1].result_against(c[0]).points;
};
}
Expand All @@ -83,7 +83,7 @@ fn void part2()
{
@pool()
{
Select s = selectFromString(io::treadline(&f)!!)!!;
Select s = selectFromString(io::treadline(&f))!!;
points += s.r.points + s.r.choice_from_other(s.c).points;
};
}
Expand Down

0 comments on commit b7aba8e

Please sign in to comment.