change the template placeholder to make it more obvious
This commit is contained in:
parent
2c8b62ce3f
commit
572d00c419
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
advent_of_code::solution!(DAY_NUMBER);
|
advent_of_code::solution!(%DAY_NUMBER%);
|
||||||
|
|
||||||
pub fn part_one(input: &str) -> Option<u32> {
|
pub fn part_one(input: &str) -> Option<u32> {
|
||||||
None
|
None
|
||||||
|
|
|
@ -32,7 +32,7 @@ pub fn handle(day: Day) {
|
||||||
|
|
||||||
match file.write_all(
|
match file.write_all(
|
||||||
MODULE_TEMPLATE
|
MODULE_TEMPLATE
|
||||||
.replace("DAY_NUMBER", &day.into_inner().to_string())
|
.replace("%DAY_NUMBER%", &day.into_inner().to_string())
|
||||||
.as_bytes(),
|
.as_bytes(),
|
||||||
) {
|
) {
|
||||||
Ok(()) => {
|
Ok(()) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue