remove more heapsize ignores

This commit is contained in:
Manish Goregaokar 2015-05-27 22:24:49 +05:30
parent a5975e8f33
commit 5447d2af3d
6 changed files with 10 additions and 15 deletions

View file

@ -9,8 +9,9 @@
#![feature(collections)]
#![feature(hash)]
#![feature(rustc_private)]
#![feature(custom_attribute, custom_derive)]
#![plugin(string_cache_plugin)]
#![plugin(plugins)]
#[macro_use] extern crate log;
#[macro_use] extern crate bitflags;

View file

@ -1027,8 +1027,8 @@ pub mod longhands {
#[inline]
pub fn get_initial_value() -> computed_value::T {
computed_value::T(vec![
("\u{201c}".to_string(), "\u{201d}".to_string()),
("\u{2018}".to_string(), "\u{2019}".to_string()),
("\u{201c}".to_owned(), "\u{201d}".to_owned()),
("\u{2018}".to_owned(), "\u{2019}".to_owned()),
])
}

View file

@ -43,7 +43,7 @@ macro_rules! define_numbered_css_keyword_enum {
};
($name: ident: $( $css: expr => $variant: ident = $value: expr ),+) => {
#[allow(non_camel_case_types)]
#[derive(Clone, Eq, PartialEq, PartialOrd, Ord, Copy, RustcEncodable, Debug)]
#[derive(Clone, Eq, PartialEq, PartialOrd, Ord, Copy, RustcEncodable, Debug, HeapSizeOf)]
pub enum $name {
$( $variant = $value ),+
}