diff options
Diffstat (limited to 'components/layout')
-rw-r--r-- | components/layout/inline.rs | 2 | ||||
-rw-r--r-- | components/layout/layout_task.rs | 2 | ||||
-rw-r--r-- | components/layout/lib.rs | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index 2ac426776a0..a4040e6dedf 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -17,7 +17,6 @@ use layout_debug; use model::IntrinsicISizesContribution; use text; -use collections::VecDeque; use geom::{Point2D, Rect, Size2D}; use gfx::display_list::OpaqueNode; use gfx::font::FontMetrics; @@ -25,6 +24,7 @@ use gfx::font_context::FontContext; use gfx::text::glyph::CharIndex; use gfx::text::text_run::TextRun; use std::cmp::max; +use std::collections::VecDeque; use std::fmt; use std::mem; use std::sync::Arc; diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 59cdbf6bca0..4dad51374c6 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -861,7 +861,7 @@ impl LayoutTask { if opts::get().dump_display_list { println!("#### start printing display list."); - stacking_context.print(String::from_str("#")); + stacking_context.print("#".to_owned()); } rw_data.stacking_context = Some(stacking_context.clone()); diff --git a/components/layout/lib.rs b/components/layout/lib.rs index 66ba28c5523..612060bf61d 100644 --- a/components/layout/lib.rs +++ b/components/layout/lib.rs @@ -10,7 +10,6 @@ #![feature(plugin)] #![feature(std_misc)] #![feature(str_char)] -#![feature(thread_local)] #![feature(unsafe_no_drop_flag)] #![deny(unsafe_code)] @@ -40,7 +39,6 @@ extern crate alloc; extern crate azure; extern crate canvas_traits; extern crate clock_ticks; -extern crate collections; extern crate cssparser; extern crate encoding; extern crate geom; |