diff --git a/pid1/examples/simple.rs b/pid1/examples/simple.rs index 9724cdf..db7cdbb 100644 --- a/pid1/examples/simple.rs +++ b/pid1/examples/simple.rs @@ -18,8 +18,8 @@ fn main() -> Result<(), Box> { } if args.len() > 1 { - let duration = &args[2]; - let duration = duration.parse().expect("Expected int value"); + let duration = &args[2]; + let duration = duration.parse().expect("Expected int value"); println!("Going to sleep {duration} seconds"); std::thread::sleep(std::time::Duration::from_secs(duration)); }