Merge pull request #671 from ethcore/clippy_hook

Removing running clippy by default on nightly.
This commit is contained in:
Gav Wood
2016-03-11 14:03:16 +01:00
36 changed files with 65 additions and 140 deletions

View File

@@ -121,7 +121,7 @@ struct QueueSignal {
}
impl QueueSignal {
#[cfg_attr(all(nightly, feature="dev"), allow(bool_comparison))]
#[cfg_attr(feature="dev", allow(bool_comparison))]
fn set(&self) {
if self.signalled.compare_and_swap(false, true, AtomicOrdering::Relaxed) == false {
self.message_channel.send(UserMessage(SyncMessage::BlockVerified)).expect("Error sending BlockVerified message");