Skip to content

Commit 0155997

Browse files
committed
Fixup libserialize for Arc and Rc being #[fundamental]
1 parent c6da31f commit 0155997

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libserialize/serialize.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -921,4 +921,7 @@ impl<T: UseSpecializedDecodable> Decodable for T {
921921
impl<'a, T: ?Sized + Encodable> UseSpecializedEncodable for &'a T {}
922922
impl<T: ?Sized + Encodable> UseSpecializedEncodable for Box<T> {}
923923
impl<T: Decodable> UseSpecializedDecodable for Box<T> {}
924-
924+
impl<T: ?Sized + Encodable> UseSpecializedEncodable for Rc<T> {}
925+
impl<T: Decodable> UseSpecializedDecodable for Rc<T> {}
926+
impl<T: ?Sized + Encodable> UseSpecializedEncodable for Arc<T> {}
927+
impl<T: Decodable> UseSpecializedDecodable for Arc<T> {}

0 commit comments

Comments
 (0)