Serialize T by ref

This commit is contained in:
David Tolnay
2017-01-23 16:21:03 -08:00
parent b9d865d8e7
commit 92668d7061
4 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -548,7 +548,7 @@ fn wrap_serialize_with(
}
}
__SerializeWith {
&__SerializeWith {
value: #value,
phantom: ::std::marker::PhantomData::<#item_ty>,
}