mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
nproc: fix comment position
This commit is contained in:
+1
-1
@@ -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()
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user