fix daily-template

This commit is contained in:
Kristofers Solo 2023-12-04 16:14:29 +02:00
parent 9c1d1160e2
commit 59e09a0eb7
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,8 @@
use color_eyre::Result;
pub fn process(input: &str) -> Result<()> {
pub fn process(input: &str) -> Result<u32> {
todo!("day xx - part 1");
Ok(0)
}
#[cfg(test)]
@ -12,7 +13,7 @@ mod tests {
fn test_process() -> Result<()> {
let input = "";
todo!("haven't built test yet");
assert_eq!("", process(input)?);
assert_eq!(0, process(input)?);
Ok(())
}
}

View File

@ -1,7 +1,8 @@
use color_eyre::Result;
pub fn process(input: &str) -> Result<()> {
pub fn process(input: &str) -> Result<u32> {
todo!("day xx - part 2");
Ok(0)
}
#[cfg(test)]
@ -12,7 +13,7 @@ mod tests {
fn test_process() -> Result<()> {
let input = "";
todo!("haven't built test yet");
assert_eq!("", process(input)?);
assert_eq!(0, process(input)?);
Ok(())
}
}