mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Fix stray vec::as_buf, try to put out fire on win32.
This commit is contained in:
parent
ccd4a0e362
commit
989536083d
@ -114,7 +114,7 @@ mod win32 {
|
||||
let mut t = str::to_utf16(s);
|
||||
// Null terminate before passing on.
|
||||
t += ~[0u16];
|
||||
vec::as_buf(t, |buf, _len| f(buf))
|
||||
vec::as_imm_buf(t, |buf, _len| f(buf))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user