Skip to content

Commit b5fc4ae

Browse files
committed
Correct match-drop-strs-issue-4541 when used in check-fast
1 parent a6d64df commit b5fc4ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/run-pass/match-drop-strs-issue-4541.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
// or double-free, as we were wont to do in the past.
44

55
use std::io;
6+
use std::os;
67

78
fn parse_args() -> ~str {
8-
let args = std::os::args();
9+
let args = os::args();
910
let mut n = 0;
1011

1112
while n < args.len() {

0 commit comments

Comments
 (0)