Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytes

This commit is contained in:
Brian Anderson 2011-08-11 17:13:53 -07:00
parent 6050e1d4f6
commit 740196987e
15 changed files with 32 additions and 32 deletions

View file

@ -104,7 +104,7 @@ fn read_all(rd: &io::reader) -> str {
let buf = "";
while !rd.eof() {
let bytes = ivec::from_vec(rd.read_bytes(4096u));
buf += str::unsafe_from_bytes_ivec(bytes);
buf += str::unsafe_from_bytes(bytes);
}
ret buf;
}