deprecate Vec::get

This commit is contained in:
Nick Cameron
2014-07-15 11:37:25 +12:00
parent b35d1a8368
commit aa760a849e
25 changed files with 91 additions and 88 deletions

View File

@@ -167,7 +167,7 @@ pub fn main_args(args: &[String]) -> int {
println!("only one input file may be specified");
return 1;
}
let input = matches.free.get(0).as_slice();
let input = matches.free[0].as_slice();
let libs = matches.opt_strs("L").iter().map(|s| Path::new(s.as_slice())).collect();