about summary refs log tree commit diff
path: root/src/comp/syntax/ext
diff options
context:
space:
mode:
authorKevin Cantu <me@kevincantu.org>2012-02-12 00:14:05 -0800
committerKevin Cantu <me@kevincantu.org>2012-02-12 15:30:20 -0800
commit2b4f5136a52041a88fbf3a03f627e9c00869f182 (patch)
treef17de603cfa62934ec39da320262297fd865dceb /src/comp/syntax/ext
parent944f5a65983e929f63c9867c3e635997f89cbe85 (diff)
downloadrust-2b4f5136a52041a88fbf3a03f627e9c00869f182.tar.gz
rust-2b4f5136a52041a88fbf3a03f627e9c00869f182.zip
(core::str) rename byte_len -> len_bytes and rename char_len -> len
Diffstat (limited to 'src/comp/syntax/ext')
-rw-r--r--src/comp/syntax/ext/qquote.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ext/qquote.rs b/src/comp/syntax/ext/qquote.rs
index 39bd34785ba..ba66cb78a15 100644
--- a/src/comp/syntax/ext/qquote.rs
+++ b/src/comp/syntax/ext/qquote.rs
@@ -202,7 +202,7 @@ fn expand_qquote<N: qq_helper>
         if (j < g_len && i == cx.gather[j].lo) {
             assert ch == '$';
             let repl = #fmt("$%u ", j);
-            state = skip(str::char_len(repl));
+            state = skip(str::len(repl));
             str2 += repl;
         }
         alt state {