Implement transparent deserialize

This commit is contained in:
David Tolnay committed 2018-05-20 21:55:20 -07:00
1 parent 7dba1e303d
commit 0a4d536253
2 files changed
+69 -3

No files matched your search

-1
View File
@@ -789,7 +789,6 @@ pub enum Default {
}
impl Default {
#[cfg(feature = "deserialize_in_place")]
pub fn is_none(&self) -> bool {
match *self {
Default::None => true,