Skip to content

Commit

Permalink
Relax orderings of Serialize impl for atomic types to match the lates…
Browse files Browse the repository at this point in the history
…t stable
  • Loading branch information
taiki-e committed Aug 20, 2022
1 parent ebd06ee commit 1d42d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde/src/ser/impls.rs
Expand Up @@ -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)
}
}
)*
Expand Down

0 comments on commit 1d42d35

Please sign in to comment.