Skip to content

Commit

Permalink
style: Move OwnedSlice to style_traits.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed May 10, 2019
1 parent 559235e commit 2ed2151
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions components/style/lib.rs
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions components/style_traits/lib.rs
Expand Up @@ -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::{
Expand Down
Expand Up @@ -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;
Expand Down

0 comments on commit 2ed2151

Please sign in to comment.