Implement transparent deserialize

This commit is contained in:
David Tolnay
2018-05-20 13:36:17 -07:00
parent 7dba1e303d
commit 0a4d536253
2 changed files with 69 additions and 3 deletions
-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,