mirror of
https://github.com/kristoferssolo/Advent-of-Code.git
synced 2025-12-31 13:42:32 +00:00
13 lines
294 B
Rust
13 lines
294 B
Rust
use day_04::part1::process;
|
|
use miette::{Context, Result};
|
|
|
|
#[tracing::instrument]
|
|
fn main() -> Result<()> {
|
|
tracing_subscriber::fmt::init();
|
|
|
|
let file = include_str!("../../input1.txt");
|
|
let result = process(file).context("process part 1")?;
|
|
println!("{result}");
|
|
Ok(())
|
|
}
|