No need for the SeqCst load in test suite
This commit is contained in:
parent
1eccb3c350
commit
5d41404e67
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user