mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 19:26:17 +00:00
Share => Sync
This commit is contained in:
1 parent
98aa2e7884
commit
9d1f777282
2 files changed
+2
-2
No files matched your search
@@ -638,7 +638,7 @@ impl<T: Deserializable> Deserializable for Rc<T> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: Deserializable + Send + Share> Deserializable for Arc<T> {
|
||||
impl<T: Deserializable + Send + Sync> Deserializable for Arc<T> {
|
||||
#[inline]
|
||||
fn deserialize_token<
|
||||
D: Deserializer<E>,
|
||||
|
||||
+1
-1
@@ -181,7 +181,7 @@ impl_serializable_box!(Box<T>)
|
||||
impl_serializable_box!(Gc<T>)
|
||||
impl_serializable_box!(Rc<T>)
|
||||
|
||||
impl<T: Serializable + Send + Share> Serializable for Arc<T> {
|
||||
impl<T: Serializable + Send + Sync> Serializable for Arc<T> {
|
||||
#[inline]
|
||||
fn serialize<S: Serializer<E>, E>(&self, s: &mut S) -> Result<(), E> {
|
||||
(**self).serialize(s)
|
||||
|
||||
Reference in new issue
Block a user