mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-27 05:49:53 +00:00
Relax orderings of Serialize impl for atomic types to match the latest stable
This commit is contained in:
1 parent
ebd06eebdb
commit
1d42d3571a
1 file changed
+1
-1
@@ -916,7 +916,7 @@ macro_rules! atomic_impl {
|
||||
S: Serializer,
|
||||
{
|
||||
// Matches the atomic ordering used in libcore for the Debug impl
|
||||
self.load(Ordering::SeqCst).serialize(serializer)
|
||||
self.load(Ordering::Relaxed).serialize(serializer)
|
||||
}
|
||||
}
|
||||
)*
|
||||
|
||||
Reference in new issue
Block a user