diff options
Diffstat (limited to 'tvix/eval/src/builtins')
-rw-r--r-- | tvix/eval/src/builtins/to_xml.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/builtins/to_xml.rs b/tvix/eval/src/builtins/to_xml.rs index 4176c8146e34..750bb27aa226 100644 --- a/tvix/eval/src/builtins/to_xml.rs +++ b/tvix/eval/src/builtins/to_xml.rs @@ -67,7 +67,7 @@ fn value_variant_to_xml<W: Write>(w: &mut EventWriter<W>, value: &Value) -> Resu w.write(XmlEvent::start_element("list"))?; for elem in list.into_iter() { - value_variant_to_xml(w, &elem)?; + value_variant_to_xml(w, elem)?; } w.write(XmlEvent::end_element()) @@ -78,7 +78,7 @@ fn value_variant_to_xml<W: Write>(w: &mut EventWriter<W>, value: &Value) -> Resu for elem in attrs.iter() { w.write(XmlEvent::start_element("attr").attr("name", elem.0.as_str()))?; - value_variant_to_xml(w, &elem.1)?; + value_variant_to_xml(w, elem.1)?; w.write(XmlEvent::end_element())?; } |