Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day 1 solution has incorrect output #1

Closed
LordAro opened this issue Dec 4, 2021 · 0 comments
Closed

Day 1 solution has incorrect output #1

LordAro opened this issue Dec 4, 2021 · 0 comments
Labels
nou wontfix This will not be worked on

Comments

@LordAro
Copy link

LordAro commented Dec 4, 2021

Expected output:

Part 1: ...
Part 2: ...

Actual output:

Part 1: ...
Part 1: ...

Both print statements in day01.rs start with "Part 1". The second print should be "Part 2"

Suggested fix:

println!("Part 1: {}", part1);
println!("Part 2: {}", part2);

<3

@wlcx wlcx added wontfix This will not be worked on nou labels Jan 30, 2022
@wlcx wlcx closed this as completed Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nou wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants