Slicing for traces, both normal and positive

This commit is contained in:
elvis
2025-09-24 18:25:56 +02:00
parent eee0439f6e
commit fac85a10d5
10 changed files with 1028 additions and 61 deletions

View File

@ -14,5 +14,10 @@ fn main() {
| Err(e) => println!("{e}"),
}
println!("{} milliseconds elapsed", now.elapsed().as_millis());
let now = now.elapsed();
println!(
"{}.{:0>3} milliseconds elapsed",
now.as_millis(),
now.as_micros() - now.as_millis() * 1000
);
}