Fix singlecore warning
This commit is contained in:
parent
4ed859e151
commit
4aad6f3fdf
@ -16,7 +16,7 @@ impl Worker {
|
||||
// We don't expose this outside the library so that
|
||||
// all `Worker` instances have the same number of
|
||||
// CPUs configured.
|
||||
pub(crate) fn new_with_cpus(cpus: usize) -> Worker {
|
||||
pub(crate) fn new_with_cpus(_cpus: usize) -> Worker {
|
||||
Worker {
|
||||
cpus: 1,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user