diff options
| author | Kevin Cantu <me@kevincantu.org> | 2012-02-01 04:20:21 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-01 21:56:53 -0800 |
| commit | 8f367ebfeb4f0b897b386f5c74c4f329fb8cbd54 (patch) | |
| tree | 9796d775541b468b23646f034b028225c9cbce72 /src/comp/back | |
| parent | 01c01f68afc58bc9a7a4d4b85805925d45a39ec7 (diff) | |
| download | rust-8f367ebfeb4f0b897b386f5c74c4f329fb8cbd54.tar.gz rust-8f367ebfeb4f0b897b386f5c74c4f329fb8cbd54.zip | |
Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes and
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
Diffstat (limited to 'src/comp/back')
| -rw-r--r-- | src/comp/back/link.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/back/link.rs b/src/comp/back/link.rs index fee4356cadb..0052cdd352a 100644 --- a/src/comp/back/link.rs +++ b/src/comp/back/link.rs @@ -570,7 +570,7 @@ fn link_binary(sess: session, (config.os == session::os_linux || config.os == session::os_freebsd) && str::find(filename, "lib") == 0 { - ret str::unsafe::slice(filename, 3u, + ret str::unsafe::slice_bytes(filename, 3u, str::byte_len(filename)); } else { ret filename; } }; |
