Skip to content

Commit

Permalink
feat/clippy: enforce more
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Jun 29, 2023
1 parent 3d242ba commit 7c2e5e4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions orchestra/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@
//! . .
//! ..................................................................
//! ```
// #![deny(unused_results)]
// unused dependencies can not work for test and examples at the same time
// yielding false positives
#![deny(unused_results)]
#![deny(missing_docs)]
#![deny(unused_crate_dependencies)]

Expand Down Expand Up @@ -232,7 +229,7 @@ impl SignalsReceived {

/// Increase the number of signals by one.
pub fn inc(&self) {
self.0.fetch_add(1, atomic::Ordering::AcqRel);
let _previous = self.0.fetch_add(1, atomic::Ordering::AcqRel);
}
}

Expand Down

0 comments on commit 7c2e5e4

Please sign in to comment.