Remove dummy deriving attributes.

Traits cannot be derived for typedefs. The upcoming rust update will make
those attributes compilation errors.
This commit is contained in:
Ms2ger 2015-01-01 21:52:08 +01:00
parent b51e83819d
commit d5c64f7f30

View file

@ -787,11 +787,9 @@ pub mod longhands {
<%self:single_component_value name="list-style-image">
pub use super::computed_as_specified as to_computed_value;
#[deriving(Clone)]
pub type SpecifiedValue = Option<Url>;
pub mod computed_value {
use url::Url;
#[deriving(Clone, PartialEq)]
pub type T = Option<Url>;
}
pub fn from_component_value(input: &ComponentValue, base_url: &Url)
@ -823,7 +821,6 @@ pub mod longhands {
use super::super::super::common_types::computed;
pub type T = Option<computed::Image>;
}
#[deriving(Clone)]
pub type SpecifiedValue = common_specified::CSSImage;
#[inline]
pub fn get_initial_value() -> computed_value::T {