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
This commit is contained in:
Manish Goregaokar 2015-06-10 00:54:14 +05:30
parent 89d4ee88f4
commit af364a412e
3 changed files with 2 additions and 4 deletions

View file

@ -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());