mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Move OwnedSlice to style_traits.
Differential Revision: https://phabricator.services.mozilla.com/D30126
This commit is contained in:
parent
559235edad
commit
2ed2151b3d
3 changed files with 4 additions and 2 deletions
|
@ -143,7 +143,6 @@ pub mod logical_geometry;
|
|||
pub mod matching;
|
||||
#[macro_use]
|
||||
pub mod media_queries;
|
||||
pub mod owned_slice;
|
||||
pub mod parallel;
|
||||
pub mod parser;
|
||||
pub mod rule_cache;
|
||||
|
@ -189,7 +188,7 @@ pub use html5ever::Prefix;
|
|||
#[cfg(feature = "servo")]
|
||||
pub use servo_atoms::Atom;
|
||||
|
||||
pub use owned_slice::OwnedSlice;
|
||||
pub use style_traits::owned_slice::OwnedSlice;
|
||||
|
||||
/// The CSS properties supported by the style system.
|
||||
/// Generated from the properties.mako.rs template by build.rs
|
||||
|
|
|
@ -89,6 +89,7 @@ pub mod specified_value_info;
|
|||
pub mod values;
|
||||
#[macro_use]
|
||||
pub mod viewport;
|
||||
pub mod owned_slice;
|
||||
|
||||
pub use crate::specified_value_info::{CssType, KeywordsCollectFn, SpecifiedValueInfo};
|
||||
pub use crate::values::{
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![allow(unsafe_code)]
|
||||
|
||||
//! A replacement for `Box<[T]>` that cbindgen can understand.
|
||||
|
||||
use std::marker::PhantomData;
|
Loading…
Add table
Add a link
Reference in a new issue