From 9b2cd415afd26cd513d9c328b7b306871351bce3 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 29 Nov 2022 15:15:39 +0100 Subject: [PATCH] Remove unused const --- instant-xml/src/impls.rs | 1 - instant-xml/src/lib.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/instant-xml/src/impls.rs b/instant-xml/src/impls.rs index 97fa9c2..9f27271 100644 --- a/instant-xml/src/impls.rs +++ b/instant-xml/src/impls.rs @@ -465,7 +465,6 @@ impl<'xml, T: FromXml<'xml>> FromXml<'xml> for Vec { } const KIND: Kind<'static> = T::KIND; - const WRAPPED: bool = true; } impl ToXml for Vec { diff --git a/instant-xml/src/lib.rs b/instant-xml/src/lib.rs index f034c54..a2d0721 100644 --- a/instant-xml/src/lib.rs +++ b/instant-xml/src/lib.rs @@ -48,7 +48,6 @@ pub trait FromXml<'xml>: Sized { } const KIND: Kind<'static>; - const WRAPPED: bool = false; } pub fn from_str<'xml, T: FromXml<'xml>>(input: &'xml str) -> Result {