Skip to content

Commit

Permalink
Auto merge of #7240 - Ms2ger:slice_extras, r=nox
Browse files Browse the repository at this point in the history
Stop using [T]::tail.

It has been removed upstream (rust-lang/rust#27684).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7240)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Aug 16, 2015
2 parents a2978f2 + a3bc438 commit 4d7dd66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/reftest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#![feature(exit_status)]
#![feature(fs_walk)]
#![feature(path_ext)]
#![feature(slice_extras)]
#![feature(slice_patterns)]
#![feature(test)]

Expand Down Expand Up @@ -44,7 +43,7 @@ bitflags!(

fn main() {
let args: Vec<String> = env::args().collect();
let mut parts = args.tail().split(|e| &**e == "--");
let mut parts = args[1..].split(|e| &**e == "--");

let harness_args = parts.next().unwrap(); // .split() is never empty
let servo_args = parts.next().unwrap_or(&[]);
Expand Down

0 comments on commit 4d7dd66

Please sign in to comment.