1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

nproc: fix comment position

This commit is contained in:
Hiroki Noda 2017-05-29 11:36:26 +09:00
parent 57dd3703d0
commit 5e95d3752e

View file

@ -99,10 +99,10 @@ Print the number of cores available to the current process.", NAME, VERSION);
if nprocs > 0 { nprocs as usize } else { 1 }
}
} else {
// Other platform(e.g., windows), num_cpus::get() directly.
num_cpus::get()
}
} else {
// On windows, num_cpus::get() directly.
num_cpus::get()
};