xml: Fix writer type

This commit is contained in:
Lennart
2025-07-02 23:31:04 +02:00
parent d8e4bd1cc4
commit 26306fd661
9 changed files with 15 additions and 15 deletions

View File

@@ -129,7 +129,7 @@ fn test_struct_serialize_with() {
ns: Option<Namespace>,
tag: Option<&[u8]>,
namespaces: &HashMap<Namespace, &[u8]>,
writer: &mut Writer<&mut [u8]>,
writer: &mut Writer<&mut Vec<u8>>,
) -> std::io::Result<()> {
val.to_uppercase().serialize(ns, tag, namespaces, writer)
}