mirror of
https://github.com/kristoferssolo/Advent-of-Code.git
synced 2026-02-04 06:12:01 +00:00
bench all
This commit is contained in:
@@ -22,3 +22,7 @@ test-log.workspace = true
|
||||
name = "{{project-name}}-bench"
|
||||
path = "benches/benchmarks.rs"
|
||||
harness = false
|
||||
|
||||
[lints.clippy]
|
||||
pedantic = "warn"
|
||||
nursery = "warn"
|
||||
|
||||
@@ -7,6 +7,6 @@ fn main() -> Result<()> {
|
||||
|
||||
let file = include_str!("../../input1.txt");
|
||||
let result = process(file).context("process part 1")?;
|
||||
println!("{}", result);
|
||||
println!("{result}");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ fn main() -> Result<()> {
|
||||
|
||||
let file = include_str!("../../input2.txt");
|
||||
let result = process(file).context("process part 2")?;
|
||||
println!("{}", result);
|
||||
println!("{result}");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user