chore(nightly): remove ()'s and fix benchmarks for nightly
Also ensure that `cargo bench` runs successfully on travis; the old `cargo bench ... || :` has the effect of ignoring any errors in it.
This commit is contained in:
@@ -27,7 +27,7 @@ impl<A: NetworkListener + Send + 'static> ListenerPool<A> {
|
||||
let work = Arc::new(work);
|
||||
|
||||
// Begin work.
|
||||
for _ in (0..threads) {
|
||||
for _ in 0..threads {
|
||||
spawn_with(super_tx.clone(), work.clone(), self.acceptor.clone())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user