summaryrefslogtreecommitdiff
path: root/2023/src/bin/day_22.rs
blob: b3a610b271cad57c9387cf9821ff326c7604ea4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use nom::IResult;
use std::fs;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let input = fs::read_to_string("inputs/day_2.txt")?;
    let parsed = Example::parser(&input).unwrap().1;
    dbg!(&parsed);

    Ok(())
}

#[derive(Debug)]
struct Example;

impl Example {
    fn parser(_input: &str) -> IResult<&str, Self> {
        todo!()
    }
}