diff --git a/src/jingle_ft.rs b/src/jingle_ft.rs index fda8dbef..3339e015 100644 --- a/src/jingle_ft.rs +++ b/src/jingle_ft.rs @@ -166,10 +166,7 @@ impl From for Element { .build()); } if let Some(range) = file.range { - root.append_child(Element::builder("range") - .ns(ns::JINGLE_FT) - .append(range) - .build()); + root.append_child(range.into()); } for hash in file.hashes { root.append_child(hash.into());