fix a couple more style grumbles

This commit is contained in:
Robert Habermeier
2017-12-31 20:10:37 +01:00
parent b44e8fd781
commit e0b7e77f2c
2 changed files with 3 additions and 3 deletions
@@ -64,7 +64,7 @@ impl SharedContext {
fn round_timeout(&mut self, round: usize) -> Box<Future<Item=(),Error=Error>> {
let (tx, rx) = oneshot::channel();
if round < self.current_round {
tx.send(()).unwrap()
tx.send(()).unwrap();
} else {
self.awaiting_round_timeouts
.entry(round)