Ignore remaining unnamed field contents

This commit is contained in:
Dirkjan Ochtman 2022-11-26 15:32:17 -08:00
parent 0dca1bbe14
commit 357fd50a9b
1 changed files with 1 additions and 0 deletions

View File

@ -428,6 +428,7 @@ fn deserialize_tuple_struct(
use ::instant_xml::{Error, Id, Kind};
#declare_values
deserializer.ignore()?;
*into = Some(Self(#return_val));
Ok(())