diff options
| author | rezural <rezural@protonmail.com> | 2020-12-24 21:45:00 +1100 |
|---|---|---|
| committer | rezural <rezural@protonmail.com> | 2020-12-24 21:45:00 +1100 |
| commit | caf9d71bc7ae069d1d80194164f54b1132e3b2ad (patch) | |
| tree | ffffbddb6f772d97410bd51d2ed011a889536116 /src_testbed/harness | |
| parent | 5fce09cb52f7c24662650a998d279433a324e517 (diff) | |
| download | rapier-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.rs | 4 |
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(); |
