Skip to content

Commit

Permalink
clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Apr 6, 2020
1 parent c6b2352 commit 856ce2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_layer/core/src/mining/miner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ impl Miner {
};
// This flag will let the future select loop again if the miner has not been issued a shutdown command.
let mut wait_for_miner = false;
'inner: while (!wait_for_miner) {
while !wait_for_miner {
futures::select! {
msg = block_event.select_next_some() => {
match *msg {
Expand Down

0 comments on commit 856ce2e

Please sign in to comment.