Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytes
This commit is contained in:
parent
6050e1d4f6
commit
740196987e
15 changed files with 32 additions and 32 deletions
|
|
@ -60,7 +60,7 @@ fn test_pipes() {
|
|||
let buf = "";
|
||||
while !reader.eof() {
|
||||
let bytes = ivec::from_vec(reader.read_bytes(4096u));
|
||||
buf += str::unsafe_from_bytes_ivec(bytes);
|
||||
buf += str::unsafe_from_bytes(bytes);
|
||||
}
|
||||
os::libc::fclose(file);
|
||||
ret buf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue