Run cargo-fmt
This commit is contained in:
parent
22eaf8da15
commit
5758e77371
12 changed files with 81 additions and 70 deletions
|
@ -18,14 +18,17 @@ fn main() -> std::io::Result<()> {
|
|||
let args = Cli::parse();
|
||||
|
||||
use std::time::Instant;
|
||||
|
||||
|
||||
let now = Instant::now();
|
||||
let file = File::open(&args.path)?;
|
||||
parse_vcd(file).unwrap();
|
||||
let elapsed = now.elapsed();
|
||||
|
||||
println!("Parsed VCD file {} : {:.2?}", &args.path.as_os_str().to_str().unwrap(), elapsed);
|
||||
|
||||
println!(
|
||||
"Parsed VCD file {} : {:.2?}",
|
||||
&args.path.as_os_str().to_str().unwrap(),
|
||||
elapsed
|
||||
);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Reference in a new issue