minidom: remove unused Rc

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-03-29 17:41:21 +02:00
commit 429949102d

View file

@ -22,7 +22,6 @@ use std::collections::{btree_map, BTreeMap};
use std::io::Write; use std::io::Write;
use std::borrow::Cow; use std::borrow::Cow;
use std::rc::Rc;
use std::str; use std::str;
use quick_xml::events::{BytesDecl, BytesEnd, BytesStart, Event}; use quick_xml::events::{BytesDecl, BytesEnd, BytesStart, Event};
@ -86,7 +85,7 @@ pub fn escape(raw: &[u8]) -> Cow<[u8]> {
pub struct Element { pub struct Element {
name: String, name: String,
namespace: String, namespace: String,
prefixes: Rc<Prefixes>, prefixes: Prefixes,
attributes: BTreeMap<String, String>, attributes: BTreeMap<String, String>,
children: Vec<Node>, children: Vec<Node>,
} }