diff options
Diffstat (limited to 'tvix/serde/src/de.rs')
-rw-r--r-- | tvix/serde/src/de.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tvix/serde/src/de.rs b/tvix/serde/src/de.rs index fddda65907a4..59a72b7417f9 100644 --- a/tvix/serde/src/de.rs +++ b/tvix/serde/src/de.rs @@ -304,8 +304,7 @@ impl<'de> de::Deserializer<'de> for NixDeserializer { V: de::Visitor<'de>, { if let Value::List(list) = self.value { - let mut seq = - SeqDeserializer::new(list.into_iter().map(|value| NixDeserializer::new(value))); + let mut seq = SeqDeserializer::new(list.into_iter().map(NixDeserializer::new)); let result = visitor.visit_seq(&mut seq)?; seq.end()?; return Ok(result); |