From 01be57cfaecba9a23d4460578867f9a8cd956336 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Thu, 2 Oct 2014 10:59:20 +1000 Subject: [PATCH] Remove manual encodable implementation. Fixes #3425. --- components/style/properties/mod.rs.mako | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/style/properties/mod.rs.mako b/components/style/properties/mod.rs.mako index 4e393c56103..2a4933ae050 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)