diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-10 00:54:14 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-10 00:54:14 +0530 |
commit | af364a412ea0d3b1b9642b8d0ff20109e97bfff4 (patch) | |
tree | fc036a91f77643799d7b3566a928490a47913da5 /components/layout/inline.rs | |
parent | 89d4ee88f490b7f3479a5f3adc4473ec27731978 (diff) | |
download | servo-af364a412ea0d3b1b9642b8d0ff20109e97bfff4.tar.gz servo-af364a412ea0d3b1b9642b8d0ff20109e97bfff4.zip |
Audit and reduce unstable usage in layout
Reasons behind existing unstable features:
alloc:
- `make_unique()`
- direct calls into `heap::allocate()`, etc
- `boxed::into_raw()` (naming)
collections:
- `slice_chars()` (needs to prove its worth)
core:
- lots and lots of pointer manip
- `raw` stuff
std_misc:
- Handle stuff
- hasher stuff
str_char:
- CharRange
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 2 |
1 files changed, 1 insertions, 1 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; |