mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update to rustc 2016-06-14.
This commit is contained in:
parent
ebf412a2aa
commit
0addbe36b0
6 changed files with 186 additions and 188 deletions
|
@ -217,9 +217,9 @@ impl ChildrenList {
|
|||
// by ChildrenMutation::replace().
|
||||
unreachable!()
|
||||
},
|
||||
(_, [node, ..], _) => node,
|
||||
(_, [], Some(next)) => next,
|
||||
(Some(prev), [], None) => {
|
||||
(_, &[node, ..], _) => node,
|
||||
(_, &[], Some(next)) => next,
|
||||
(Some(prev), &[], None) => {
|
||||
list.last_index.set(index - 1u32);
|
||||
prev
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue