From 5e95d3752e40f0d6a828422d7c9a762b6f1c2731 Mon Sep 17 00:00:00 2001 From: Hiroki Noda Date: Mon, 29 May 2017 11:36:26 +0900 Subject: [PATCH] nproc: fix comment position --- src/nproc/nproc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nproc/nproc.rs b/src/nproc/nproc.rs index d7a5509ae..13757f610 100644 --- a/src/nproc/nproc.rs +++ b/src/nproc/nproc.rs @@ -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() };