diff --git a/components/style/properties/mod.rs.mako b/components/style/properties/mod.rs.mako index 6987333ec1c..d51d5d91e14 100644 --- a/components/style/properties/mod.rs.mako +++ b/components/style/properties/mod.rs.mako @@ -5,7 +5,6 @@ // This file is a Mako template: http://www.makotemplates.org/ pub use std::ascii::StrAsciiExt; -use serialize::{Encodable, Encoder}; use servo_util::logical_geometry::{WritingMode, LogicalMargin}; use sync::Arc; @@ -1463,12 +1462,6 @@ pub struct PropertyDeclarationBlock { pub normal: Arc>, } -impl> Encodable for PropertyDeclarationBlock { - fn encode(&self, _: &mut S) -> Result<(), E> { - Ok(()) - } -} - pub fn parse_style_attribute(input: &str, base_url: &Url) -> PropertyDeclarationBlock { parse_property_declaration_list(tokenize(input), base_url)