change the template placeholder to make it more obvious

This commit is contained in:
Tristan Guichaoua 2023-12-06 11:55:44 +01:00
parent 2c8b62ce3f
commit 572d00c419
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
advent_of_code::solution!(DAY_NUMBER);
advent_of_code::solution!(%DAY_NUMBER%);
pub fn part_one(input: &str) -> Option<u32> {
None

View file

@ -32,7 +32,7 @@ pub fn handle(day: Day) {
match file.write_all(
MODULE_TEMPLATE
.replace("DAY_NUMBER", &day.into_inner().to_string())
.replace("%DAY_NUMBER%", &day.into_inner().to_string())
.as_bytes(),
) {
Ok(()) => {