mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
style: Port the style crate to rust 2018.
Differential Revision: https://phabricator.services.mozilla.com/D80101
This commit is contained in:
parent
9b980e2f49
commit
8f215a8444
9 changed files with 18 additions and 14 deletions
|
@ -35,7 +35,7 @@ use void::{self, Void};
|
|||
#[allow(non_upper_case_globals)]
|
||||
impl From<nsCSSPropertyID> for TransitionProperty {
|
||||
fn from(property: nsCSSPropertyID) -> TransitionProperty {
|
||||
use properties::ShorthandId;
|
||||
use crate::properties::ShorthandId;
|
||||
match property {
|
||||
% for prop in data.longhands:
|
||||
${prop.nscsspropertyid()} => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue