Skip to content

Commit

Permalink
servo: Merge #7240 - Stop using [T]::tail (from Ms2ger:slice_extras);…
Browse files Browse the repository at this point in the history
… r=nox

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 4d7dd66ec9f0a5229a52b3301ac1a38848ebfb4b

UltraBlame original commit: 4fb4c524dac38483cbe495c72ff641d99b03c0d6
  • Loading branch information
marco-c committed Sep 30, 2019
1 parent aeafc67 commit 41f5db0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions servo/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();
let servo_args = parts.next().unwrap_or(&[]);
Expand Down

0 comments on commit 41f5db0

Please sign in to comment.