mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
Correct match-drop-strs-issue-4541 when used in check-fast
This commit is contained in:
parent
a6d64df672
commit
b5fc4ae918
@ -3,9 +3,10 @@
|
||||
// or double-free, as we were wont to do in the past.
|
||||
|
||||
use std::io;
|
||||
use std::os;
|
||||
|
||||
fn parse_args() -> ~str {
|
||||
let args = std::os::args();
|
||||
let args = os::args();
|
||||
let mut n = 0;
|
||||
|
||||
while n < args.len() {
|
||||
|
Loading…
Reference in New Issue
Block a user