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

@ -312,7 +312,7 @@ fn sanitize(s: &str) -> str {
c != ' ' as u8 && c != '\t' as u8 && c != ';' as u8
{
let v = ~[c];
result += str::unsafe_from_bytes_ivec(v);
result += str::unsafe_from_bytes(v);
}
}
}