mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
b51e83819d
commit
d5c64f7f30
1 changed files with 0 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue