mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 11:16:29 +00:00
Document the atomic ordering in the Serialize impl
This commit is contained in:
1 file changed
+1
@@ -915,6 +915,7 @@ macro_rules! atomic_impl {
|
||||
where
|
||||
S: Serializer,
|
||||
{
|
||||
// Matches the atomic ordering used in libcore for the Debug impl
|
||||
self.load(Ordering::SeqCst).serialize(serializer)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user