Fix a few mutability warnings

This commit is contained in:
Glenn Watson 2014-05-07 14:59:19 +10:00
parent 0bb838a58b
commit b61d2328e2
3 changed files with 5 additions and 5 deletions

View file

@ -96,7 +96,7 @@ impl StackingContext {
/// Creates a stacking context from a display list.
fn new(list: DisplayList) -> StackingContext {
let DisplayList {
list: mut list
list: list
} = list;
let mut stacking_context = StackingContext {
@ -160,7 +160,7 @@ impl StackingContext {
block_backgrounds_and_borders,
floats,
content,
positioned_descendants: mut positioned_descendants
positioned_descendants: positioned_descendants
} = other;
let push = |destination: &mut DisplayList, source: DisplayList, level| {