diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2015-07-11 14:34:57 +0300 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2015-07-12 00:47:56 +0300 |
| commit | 7a90865db5b9bbf4e94580a886e3ab187d91c83c (patch) | |
| tree | 5067055c232e186de7204566d2b56eceda674227 /src/libtest | |
| parent | 072d07ce9fc85728a62664ce674e26c54a759da5 (diff) | |
| download | rust-7a90865db5b9bbf4e94580a886e3ab187d91c83c.tar.gz rust-7a90865db5b9bbf4e94580a886e3ab187d91c83c.zip | |
Implement RFC 1058
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 724c0b2a892..382b7495af5 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -44,7 +44,6 @@ #![feature(rt)] #![feature(rustc_private)] #![feature(set_stdio)] -#![feature(slice_extras)] #![feature(staged_api)] extern crate getopts; @@ -359,7 +358,7 @@ Test Attributes: // Parses command line arguments into test options pub fn parse_opts(args: &[String]) -> Option<OptRes> { - let args_ = args.tail(); + let args_ = &args[1..]; let matches = match getopts::getopts(args_, &optgroups()) { Ok(m) => m, |
