Skip to content

Commit

Permalink
Stop using deprecated API's
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Aug 8, 2014
1 parent 43b6577 commit 5804e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chamber/driver.rs
Expand Up @@ -51,7 +51,7 @@ fn parse_config(mut args: Vec<String>) -> ExeMode {
use rustc::driver::config::parse_crate_types_from_list;
use getopts::{getopts};

let _ = args.shift().unwrap();
let _ = args.remove(0).unwrap();

if args.is_empty() { return Help }

Expand Down

0 comments on commit 5804e14

Please sign in to comment.