Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Follow clippy's advice
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienG2 committed Nov 17, 2023
1 parent 575ebe6 commit 4d20e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/race_cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ mod tests {
#[test]
fn initial_state() {
let cell = RaceCell::new(true);
assert_eq!(cell.local_contents.relaxed_load(), true);
assert_eq!(cell.remote_version.relaxed_load(), true);
assert!(cell.local_contents.relaxed_load());
assert!(cell.remote_version.relaxed_load());
}

/// Reading a consistent RaceCell should work as expected
Expand Down

0 comments on commit 4d20e7c

Please sign in to comment.