mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 20:47:46 +00:00
nproc: fix comment position
This commit is contained in:
parent
57dd3703d0
commit
5e95d3752e
1 changed files with 1 additions and 1 deletions
|
@ -99,10 +99,10 @@ Print the number of cores available to the current process.", NAME, VERSION);
|
||||||
if nprocs > 0 { nprocs as usize } else { 1 }
|
if nprocs > 0 { nprocs as usize } else { 1 }
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// Other platform(e.g., windows), num_cpus::get() directly.
|
||||||
num_cpus::get()
|
num_cpus::get()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// On windows, num_cpus::get() directly.
|
|
||||||
num_cpus::get()
|
num_cpus::get()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue