use std::time::Instant; fn main() { println!("Hello, this is Patrick!"); let now = Instant::now(); println!("Time passed: {:?}", Instant::now() - now); }