mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Stop using unstable slice_patterns feature
This commit is contained in:
parent
e92a79619e
commit
10478b4fa3
5 changed files with 5 additions and 10 deletions
|
@ -223,9 +223,9 @@ impl ChildrenList {
|
|||
// by ChildrenMutation::replace().
|
||||
unreachable!()
|
||||
},
|
||||
(_, &[node, ..], _) => node,
|
||||
(_, &[], Some(next)) => next,
|
||||
(Some(prev), &[], None) => {
|
||||
(_, added, _) if !added.is_empty() => added[0],
|
||||
(_, _, Some(next)) => next,
|
||||
(Some(prev), _, None) => {
|
||||
list.last_index.set(index - 1u32);
|
||||
prev
|
||||
},
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#![feature(optin_builtin_traits)]
|
||||
#![feature(plugin)]
|
||||
#![feature(proc_macro)]
|
||||
#![feature(slice_patterns)]
|
||||
#![feature(stmt_expr_attributes)]
|
||||
#![feature(try_from)]
|
||||
#![feature(untagged_unions)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue