about summary refs log tree commit diff
path: root/src/libstd/fmt
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-11-23 11:18:51 +0100
committerMarvin Löbel <loebel.marvin@gmail.com>2013-11-26 10:02:26 +0100
commit24b316a3b9567cb2cc2fb6644bd891dbf8855c18 (patch)
tree567d9df8a078d09fc610ea3e0b301f5cb6fb63d8 /src/libstd/fmt
parentb42c4388927db75f9a38edbeafbfe13775b1773d (diff)
downloadrust-24b316a3b9567cb2cc2fb6644bd891dbf8855c18.tar.gz
rust-24b316a3b9567cb2cc2fb6644bd891dbf8855c18.zip
Removed unneccessary `_iter` suffixes from various APIs
Diffstat (limited to 'src/libstd/fmt')
-rw-r--r--src/libstd/fmt/parse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fmt/parse.rs b/src/libstd/fmt/parse.rs
index 401ddfe67f5..885fe75fb9f 100644
--- a/src/libstd/fmt/parse.rs
+++ b/src/libstd/fmt/parse.rs
@@ -196,7 +196,7 @@ impl<'self> Parser<'self> {
     pub fn new<'a>(s: &'a str) -> Parser<'a> {
         Parser {
             input: s,
-            cur: s.char_offset_iter(),
+            cur: s.char_indices(),
             depth: 0,
         }
     }