diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2012-02-23 16:59:30 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-02-23 17:00:19 +0100 |
| commit | 780f8277f44bb2eddaf6c516d60b0a6b9b557a5b (patch) | |
| tree | f8b30650ab8b26c27f384e422bcff3cd8cbcab79 /src/comp/syntax/ext | |
| parent | 1d2b4b97edd7c4038f96c81d8945e294442092a2 (diff) | |
| download | rust-780f8277f44bb2eddaf6c516d60b0a6b9b557a5b.tar.gz rust-780f8277f44bb2eddaf6c516d60b0a6b9b557a5b.zip | |
Finish cleanup of core::str
Closes #1849
Diffstat (limited to 'src/comp/syntax/ext')
| -rw-r--r-- | src/comp/syntax/ext/qquote.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ext/qquote.rs b/src/comp/syntax/ext/qquote.rs index e53307b474a..7f7d5a387f0 100644 --- a/src/comp/syntax/ext/qquote.rs +++ b/src/comp/syntax/ext/qquote.rs @@ -214,7 +214,7 @@ fn finish<T: qq_helper> if (j < g_len && i == cx.gather[j].lo) { assert ch == '$'; let repl = #fmt("$%u ", j); - state = skip(str::len_chars(repl)); + state = skip(str::char_len(repl)); str2 += repl; } alt state { |
