eep(1): comment why u64 number
This commit is contained in:
parent
6334f41e0b
commit
b7fe7294c6
@ -36,7 +36,7 @@ fn main() -> ExitCode {
|
|||||||
|
|
||||||
if argv.len() == 2 {
|
if argv.len() == 2 {
|
||||||
if let Ok(s) = argv[1].parse::<u64>() {
|
if let Ok(s) = argv[1].parse::<u64>() {
|
||||||
sleep(Duration::from_secs(s));
|
sleep(Duration::from_secs(s)); /* from_secs needs u64 */
|
||||||
ExitCode::SUCCESS
|
ExitCode::SUCCESS
|
||||||
} else {
|
} else {
|
||||||
usage(&argv[0])
|
usage(&argv[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user