summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer.rs
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-03-21 12:36:21 +0100
committerMarvin Löbel <loebel.marvin@gmail.com>2013-03-21 14:05:57 +0100
commit9d9a209e9a61414cdf9c8065d445ce353d6ed45f (patch)
tree11ec8b9926019a8864066990c5bf34860620c1a7 /src/libsyntax/parse/lexer.rs
parent8f4448837b09fe644524ba28d59dee08950ef6b5 (diff)
downloadrust-9d9a209e9a61414cdf9c8065d445ce353d6ed45f.tar.gz
rust-9d9a209e9a61414cdf9c8065d445ce353d6ed45f.zip
back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> slice_unique
Diffstat (limited to 'src/libsyntax/parse/lexer.rs')
-rw-r--r--src/libsyntax/parse/lexer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/lexer.rs b/src/libsyntax/parse/lexer.rs
index 49f1d041b02..6cb4065935c 100644
--- a/src/libsyntax/parse/lexer.rs
+++ b/src/libsyntax/parse/lexer.rs
@@ -176,7 +176,7 @@ pub fn get_str_from(rdr: @mut StringReader, start: BytePos) -> ~str {
     unsafe {
         // I'm pretty skeptical about this subtraction. What if there's a
         // multi-byte character before the mark?
-        return str::slice_DBG_BRWD(*rdr.src, start.to_uint() - 1u,
+        return str::slice(*rdr.src, start.to_uint() - 1u,
                           byte_offset(rdr).to_uint() - 1u).to_owned();
     }
 }