diff --git a/libs/stringtable/src/lib.rs b/libs/stringtable/src/lib.rs index 4dfb5fcb..fd6c02fa 100644 --- a/libs/stringtable/src/lib.rs +++ b/libs/stringtable/src/lib.rs @@ -51,9 +51,11 @@ impl Project { &self, writer: &mut W, ) -> Result<(), quick_xml::de::DeError> { + // If this write fails, the serializer will also throw an error + let _ = writer.write_str(r#""#); + let _ = writer.write_char('\n'); let mut ser = Serializer::new(writer); ser.indent(' ', 4); - self.serialize(ser) } }