Skip to content
Permalink
Browse files

style: Move OwnedSlice to style_traits.

  • Loading branch information...
emilio committed May 9, 2019
1 parent 559235e commit 2ed2151b3dfe9e98ad997a64b4cf334b967e5db3
@@ -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;

0 comments on commit 2ed2151

Please sign in to comment.
You can’t perform that action at this time.