Skip to content

Commit

Permalink
No need for the SeqCst load in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 23, 2021
1 parent 1eccb3c commit 5d41404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_suite/tests/test_de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ fn test_atomics() {
let mut de = serde_test::Deserializer::new(tokens);
match A::deserialize(&mut de) {
Ok(v) => {
let loaded = load(&v, Ordering::SeqCst);
let loaded = load(&v, Ordering::Relaxed);
assert_eq!(val, loaded);
}
Err(e) => panic!("tokens failed to deserialize: {}", e),
Expand Down

0 comments on commit 5d41404

Please sign in to comment.