de(structure): fields not checked

This commit is contained in:
Matt Bilker
2018-07-10 15:40:40 +00:00
parent ca0285cd64
commit 065f5ad8e5

View File

@@ -10,7 +10,7 @@ pub struct Struct<'a, 'de: 'a> {
}
impl<'de, 'a> Struct<'a, 'de> {
pub fn new(de: &'a mut Deserializer<'de>, fields: &'static [&'static str]) -> Self {
pub fn new(de: &'a mut Deserializer<'de>, _fields: &'static [&'static str]) -> Self {
Self {
de,
//fields,