minidom: remove unused Rc
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
6308250c17
commit
429949102d
1 changed files with 1 additions and 2 deletions
|
|
@ -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>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue