Skip to content
Myr

No need for the SeqCst load in test suite

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 1eccb3c · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test_suite/tests/test_de.rs+1 added-1 removed
1345 unmodified lines
1346 let tokens = &[token];1347 let mut de = serde_test::Deserializer::new(tokens);1348 match A::deserialize(&mut de) {1349 Ok(v) => {1350 let loaded = load(&v, Ordering::SeqCst);1350 let loaded = load(&v, Ordering::Relaxed);1351 assert_eq!(val, loaded);1352 }1353 Err(e) => panic!("tokens failed to deserialize: {}", e),1354 };
304 unmodified lines