summaryrefslogtreecommitdiff
path: root/src/bin/day_10.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-11-17 21:58:31 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-11-17 21:58:31 +0200
commit819a06ab7310ff8606206be83bbba077992596c1 (patch)
tree5d2504d8e93ffbd9ce9eb25adb64d222aa5e65f1 /src/bin/day_10.rs
parent87e2140a5d46e95dc05526dc03cc2f55f195842c (diff)
Scaffolded out files for each day of the advent of code
These don't really do anything except make it a bit easier and faster to start the day's challenge.
Diffstat (limited to 'src/bin/day_10.rs')
-rw-r--r--src/bin/day_10.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/bin/day_10.rs b/src/bin/day_10.rs
new file mode 100644
index 0000000..0c4b458
--- /dev/null
+++ b/src/bin/day_10.rs
@@ -0,0 +1,18 @@
+extern crate advent_of_code_2018;
+use advent_of_code_2018::*;
+
+use std::error::Error;
+use std::path::PathBuf;
+
+// cargo watch -cs "cargo run --bin day_10"
+
+fn main() -> Result<(), Box<Error>> {
+ let input = read_file(&PathBuf::from("inputs/10.txt"))?;
+
+ println!("Input: {:?}", input);
+
+
+
+
+ Ok(())
+}