aboutsummaryrefslogtreecommitdiff
path: root/src_testbed/harness
diff options
context:
space:
mode:
authorrezural <rezural@protonmail.com>2020-12-24 21:45:00 +1100
committerrezural <rezural@protonmail.com>2020-12-24 21:45:00 +1100
commitcaf9d71bc7ae069d1d80194164f54b1132e3b2ad (patch)
treeffffbddb6f772d97410bd51d2ed011a889536116 /src_testbed/harness
parent5fce09cb52f7c24662650a998d279433a324e517 (diff)
downloadrapier-caf9d71bc7ae069d1d80194164f54b1132e3b2ad.tar.gz
rapier-caf9d71bc7ae069d1d80194164f54b1132e3b2ad.tar.bz2
rapier-caf9d71bc7ae069d1d80194164f54b1132e3b2ad.zip
cargo fmt
Diffstat (limited to 'src_testbed/harness')
-rw-r--r--src_testbed/harness/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src_testbed/harness/mod.rs b/src_testbed/harness/mod.rs
index 916823e..45e52dc 100644
--- a/src_testbed/harness/mod.rs
+++ b/src_testbed/harness/mod.rs
@@ -19,10 +19,10 @@ pub struct RunState {
impl RunState {
pub fn new() -> Self {
#[cfg(feature = "parallel")]
- let num_threads = num_cpus::get_physical();
+ let num_threads = num_cpus::get_physical();
#[cfg(feature = "parallel")]
- let thread_pool = rapier::rayon::ThreadPoolBuilder::new()
+ let thread_pool = rapier::rayon::ThreadPoolBuilder::new()
.num_threads(num_threads)
.build()
.unwrap();