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
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue