Skip to content

Conversation

tguichaoua
Copy link
Contributor

This PR introduces a new macro day_from_file_name which use the file name to create a Day value.
It is now possible to use advent_of_code::solution!() with no paremeter to use the file name.

Note: I only tested this on Windows and I'm not 100% sure of the robustnesss of this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant