Skip to content

Commit

Permalink
[iOS] Fallout from 8389253
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed Mar 25, 2015
1 parent 123a754 commit eb5ed10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ pub fn args() -> Args {
let utf_c_str: *const libc::c_char =
mem::transmute(objc_msgSend(tmp, utf8_sel));
let bytes = CStr::from_ptr(utf_c_str).to_bytes();
res.push(OsString::from_str(str::from_utf8(bytes).unwrap()))
res.push(OsString::from(str::from_utf8(bytes).unwrap()))
}
}

Expand Down

0 comments on commit eb5ed10

Please sign in to comment.