style: fix formatting for rustfmt compliance

- Add trailing newlines to all source files
- Remove extra blank lines
- Simplify closure formatting in benchmarks
This commit is contained in:
Stefano Amorelli
2025-08-16 17:43:01 +03:00
parent 5f8585c434
commit b7a229ead9
5 changed files with 15 additions and 15 deletions

View File

@@ -11,13 +11,12 @@ fn main() {
let filepath = &args[1];
let parser = Parser::new();
let start = Instant::now();
match parser.parse_file(filepath) {
Ok(doc) => {
let elapsed = start.elapsed();
let ms = elapsed.as_secs_f64() * 1000.0;
println!("crabrl found: {} facts, {} contexts, {} units (in {:.3}ms)",
doc.facts.len(),
doc.contexts.len(),
@@ -37,4 +36,5 @@ fn main() {
std::process::exit(1);
}
}
}
}