mirror of
https://github.com/kristoferssolo/Advent-of-Code.git
synced 2025-10-21 18:00:35 +00:00
13 lines
296 B
Rust
13 lines
296 B
Rust
use day_06::part2::process;
|
|
use miette::{Context, Result};
|
|
|
|
#[tracing::instrument]
|
|
fn main() -> Result<()> {
|
|
tracing_subscriber::fmt::init();
|
|
|
|
let file = include_str!("../../input2.txt");
|
|
let result = process(file).context("process part 2")?;
|
|
println!("{}", result);
|
|
Ok(())
|
|
}
|