mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Make geckolib possible to build on stable Rust
This commit is contained in:
parent
bb916bb38b
commit
2d52b13f2f
6 changed files with 28 additions and 14 deletions
|
@ -206,7 +206,8 @@
|
|||
use cssparser::ToCss;
|
||||
use std::fmt;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, HeapSizeOf)]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
pub struct T(pub Vec<${to_camel_case(name)}>);
|
||||
|
||||
impl ToCss for T {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue