mirror of
https://github.com/servo/servo.git
synced 2025-10-15 16:00:28 +01:00
Fix a few mutability warnings
This commit is contained in:
parent
0bb838a58b
commit
b61d2328e2
3 changed files with 5 additions and 5 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue