diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-12 17:45:23 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-12 17:45:36 -0700 |
| commit | ff54ac8e598bfc71e827c0b60e392c5f0fbd4d7e (patch) | |
| tree | c5c20cafe2c415f1f3aecbc2fa60770e3ca9f1e3 /src/libcore/uint-template.rs | |
| parent | 37cf649311bcf6fec2d9096b483ac4be81b70732 (diff) | |
Rename vec::unsafe to vec::raw
Diffstat (limited to 'src/libcore/uint-template.rs')
| -rw-r--r-- | src/libcore/uint-template.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/uint-template.rs b/src/libcore/uint-template.rs index 1da46d780be..879ba684698 100644 --- a/src/libcore/uint-template.rs +++ b/src/libcore/uint-template.rs @@ -239,7 +239,7 @@ pure fn to_str_bytes<U>(neg: bool, num: T, radix: uint, *ptr::mut_offset(mp, i) = '-' as u8; } - vec::unsafe::form_slice(ptr::offset(p, i), + vec::raw::form_slice(ptr::offset(p, i), len - i, f) } } |
