summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorKevin Cantu <me@kevincantu.org>2012-02-22 23:46:45 -0800
committerMarijn Haverbeke <marijnh@gmail.com>2012-02-23 17:00:19 +0100
commit6ea3d7935efba59d0b9d81f233e66ea69f1e1016 (patch)
tree9a0b15de841f729a811fe8b5dedab0f94b6cba87 /src/libcore
parent280633a7283c21c6d95a556816bfb698845c34d8 (diff)
downloadrust-6ea3d7935efba59d0b9d81f233e66ea69f1e1016.tar.gz
rust-6ea3d7935efba59d0b9d81f233e66ea69f1e1016.zip
(core::str) replace byte_index[_from] with index[_from]
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/str.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index 4f315541da2..8760403a77a 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -71,8 +71,10 @@ export
 
    // Searching
    index_chars,
-   byte_index,
-   byte_index_from,
+   index,
+   index_from,
+   //byte_index,
+   //byte_index_from,
    rindex,
    //rindex_chars,
    find_chars,