Merge pull request #3654 from ethcore/clippy-bump

Bumping clippy
This commit is contained in:
Gav Wood
2016-11-29 18:00:13 +01:00
committed by GitHub
43 changed files with 121 additions and 103 deletions

View File

@@ -870,8 +870,8 @@ impl BlockChainClient for Client {
}
fn keep_alive(&self) {
let should_wake = match &*self.mode.lock() {
&Mode::Dark(..) | &Mode::Passive(..) => true,
let should_wake = match *self.mode.lock() {
Mode::Dark(..) | Mode::Passive(..) => true,
_ => false,
};
if should_wake {