mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove manual encodable implementation. Fixes #3425.
This commit is contained in:
parent
06489fcc42
commit
01be57cfae
1 changed files with 0 additions and 7 deletions
|
@ -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<Vec<PropertyDeclaration>>,
|
||||
}
|
||||
|
||||
impl<E, S: Encoder<E>> Encodable<S, E> 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue