mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
xml: Remove generics from XmlSerialize
This commit is contained in:
@@ -124,12 +124,12 @@ fn test_struct_serialize_with() {
|
||||
href: String,
|
||||
}
|
||||
|
||||
fn serialize_href<W: ::std::io::Write>(
|
||||
fn serialize_href(
|
||||
val: &str,
|
||||
ns: Option<Namespace>,
|
||||
tag: Option<&[u8]>,
|
||||
namespaces: &HashMap<Namespace, &[u8]>,
|
||||
writer: &mut Writer<W>,
|
||||
writer: &mut Writer<&mut [u8]>,
|
||||
) -> std::io::Result<()> {
|
||||
val.to_uppercase().serialize(ns, tag, namespaces, writer)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user