mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
style: Implement ArcSlice::default().
Share a singleton to avoid allocating for empty lists. Differential Revision: https://phabricator.services.mozilla.com/D30543
This commit is contained in:
parent
ab8776a144
commit
5e4fdf647d
4 changed files with 52 additions and 21 deletions
|
@ -16,6 +16,8 @@ extern crate bitflags;
|
|||
#[macro_use]
|
||||
extern crate cssparser;
|
||||
extern crate euclid;
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
extern crate malloc_size_of;
|
||||
#[macro_use]
|
||||
extern crate malloc_size_of_derive;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue