summary refs log tree commit diff
path: root/src/libcore/str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/str.rs')
-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,