From 696c173f930b7ce8549d39042999885a03712f75 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 1 Dec 2021 07:35:34 +0100 Subject: [PATCH] 2021: rm day00 --- aoc2021/input/day00.txt | 1 - aoc2021/src/day00.rs | 17 ----------------- 2 files changed, 18 deletions(-) delete mode 100644 aoc2021/input/day00.txt delete mode 100644 aoc2021/src/day00.rs diff --git a/aoc2021/input/day00.txt b/aoc2021/input/day00.txt deleted file mode 100644 index cd08755..0000000 --- a/aoc2021/input/day00.txt +++ /dev/null @@ -1 +0,0 @@ -Hello world! diff --git a/aoc2021/src/day00.rs b/aoc2021/src/day00.rs deleted file mode 100644 index 3e48bd2..0000000 --- a/aoc2021/src/day00.rs +++ /dev/null @@ -1,17 +0,0 @@ -use std::fmt::Write; - -use anyhow::Result; - -const INPUT: &str = include_str!("../input/day00.txt"); - -pub fn run() -> Result { - let mut res = String::with_capacity(128); - - writeln!(res, "part 1: {}", part1(INPUT)?)?; - - Ok(res) -} - -fn part1(input: &str) -> Result<&str> { - Ok(input) -}