File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: d8c5bd61956924e041be240cff9458141ca74187
2
+ refs/heads/master: 7bd0437b08a198a098025271103321b921d60645
Original file line number Diff line number Diff line change @@ -437,12 +437,11 @@ fn opts() -> [getopts::opt] {
437
437
optflag ( "lib" ) , optflag ( "static" ) , optflag ( "gc" ) ] ;
438
438
}
439
439
440
- fn main( args : vec < str > ) {
441
- let args_ivec = vec:: from_vec ( args) ;
442
- let binary = vec:: shift ( args_ivec) ;
440
+ fn main( args : [ str ] ) {
441
+ let binary = vec:: shift ( args) ;
443
442
let binary_dir = fs:: dirname ( binary) ;
444
443
let match =
445
- alt getopts:: getopts ( args_ivec , opts ( ) ) {
444
+ alt getopts:: getopts ( args , opts ( ) ) {
446
445
getopts:: success ( m) { m }
447
446
getopts:: failure ( f) {
448
447
log_err #fmt( "error: %s" , getopts:: fail_str ( f) ) ;
You can’t perform that action at this time.
0 commit comments