mirror of
https://github.com/instant-labs/instant-xml.git
synced 2025-02-17 15:32:07 +00:00
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};
|
||||
|
||||
#declare_values
|
||||
deserializer.ignore()?;
|
||||
|
||||
*into = Some(Self(#return_val));
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user