From bbe9e0452016d9667dda36ca98b44842a64d93be Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Thu, 30 Nov 2023 13:15:17 +0200 Subject: 2023 Setup. Let's go! --- 2023/src/bin/day_1.rs | 8 ++++++++ 2023/src/lib.rs | 1 + 2 files changed, 9 insertions(+) create mode 100644 2023/src/bin/day_1.rs create mode 100644 2023/src/lib.rs (limited to '2023/src') diff --git a/2023/src/bin/day_1.rs b/2023/src/bin/day_1.rs new file mode 100644 index 0000000..227aada --- /dev/null +++ b/2023/src/bin/day_1.rs @@ -0,0 +1,8 @@ +use std::fs; + +fn main() -> Result<(), Box> { + let input = fs::read_to_string("inputs/day_1.txt")?; + dbg!(input); + + Ok(()) +} diff --git a/2023/src/lib.rs b/2023/src/lib.rs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/2023/src/lib.rs @@ -0,0 +1 @@ + -- cgit v1.2.3