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:
Huon Wilson
2015-10-14 14:40:24 +11:00
parent cdaa2547ed
commit d2e9c94cf5
3 changed files with 14 additions and 2 deletions

View File

@@ -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())
}