Ignore remaining unnamed field contents
This commit is contained in:
parent
0dca1bbe14
commit
357fd50a9b
|
@ -428,6 +428,7 @@ fn deserialize_tuple_struct(
|
||||||
use ::instant_xml::{Error, Id, Kind};
|
use ::instant_xml::{Error, Id, Kind};
|
||||||
|
|
||||||
#declare_values
|
#declare_values
|
||||||
|
deserializer.ignore()?;
|
||||||
|
|
||||||
*into = Some(Self(#return_val));
|
*into = Some(Self(#return_val));
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in New Issue