mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 23:35:26 +00:00
Relax orderings of Serialize impl for atomic types to match the latest stable
This commit is contained in:
parent
ebd06eebdb
commit
1d42d3571a
@ -916,7 +916,7 @@ macro_rules! atomic_impl {
|
|||||||
S: Serializer,
|
S: Serializer,
|
||||||
{
|
{
|
||||||
// Matches the atomic ordering used in libcore for the Debug impl
|
// Matches the atomic ordering used in libcore for the Debug impl
|
||||||
self.load(Ordering::SeqCst).serialize(serializer)
|
self.load(Ordering::Relaxed).serialize(serializer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)*
|
)*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user