From 429949102d8b026cc55cf9d3d50e532e7edc6d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 29 Mar 2020 17:41:21 +0200 Subject: [PATCH] minidom: remove unused Rc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- minidom-rs/src/element.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/minidom-rs/src/element.rs b/minidom-rs/src/element.rs index 35f6e86..0ea654a 100644 --- a/minidom-rs/src/element.rs +++ b/minidom-rs/src/element.rs @@ -22,7 +22,6 @@ use std::collections::{btree_map, BTreeMap}; use std::io::Write; use std::borrow::Cow; -use std::rc::Rc; use std::str; use quick_xml::events::{BytesDecl, BytesEnd, BytesStart, Event}; @@ -86,7 +85,7 @@ pub fn escape(raw: &[u8]) -> Cow<[u8]> { pub struct Element { name: String, namespace: String, - prefixes: Rc, + prefixes: Prefixes, attributes: BTreeMap, children: Vec, }