feat: clearly mark template code

This commit is contained in:
Felix Spöttel 2022-10-29 17:25:11 +02:00
parent e327f00aa8
commit e45e930602
5 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,7 @@
/*
* This file contains template code.
* There is no need to edit this file unless you want to change template functionality.
*/
use std::io::Write;
use std::path::PathBuf;
use std::{env::temp_dir, io, process::Command};

View File

@ -1,3 +1,7 @@
/*
* This file contains template code.
* There is no need to edit this file unless you want to change template functionality.
*/
use std::{
fs::{File, OpenOptions},
io::Write,

View File

@ -1,4 +1,4 @@
/*
* Use this file if you want to extract helpers from your solutions.
* Example import from this file: `use aoc::helpers::example_fn;`
* Example import from this file: `use aoc::helpers::example_fn;`.
*/

View File

@ -1,5 +1,6 @@
/*
* This file contains template helpers.
* This file contains template code.
* There is no need to edit this file unless you want to change template functionality.
* Prefer `./helpers.rs` if you want to extract code from your solutions.
*/
use std::env;

View File

@ -1,6 +1,6 @@
/*
* This file contains template code.
* Unless you want to change how solutions are invoked, this file does not need to be edited.
* There is no need to edit this file unless you want to change template functionality.
*/
use aoc::{ANSI_BOLD, ANSI_ITALIC, ANSI_RESET};
use std::process::Command;