about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/str.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/str.rs b/src/libstd/str.rs
index a7fe102738d..8967b447fd7 100644
--- a/src/libstd/str.rs
+++ b/src/libstd/str.rs
@@ -432,11 +432,6 @@ pub fn byte_slice_no_callback<'a>(s: &'a str) -> &'a [u8] {
     }
 }
 
-/// Convert a string to a unique vector of characters
-pub fn to_chars(s: &str) -> ~[char] {
-    s.iter().collect()
-}
-
 /**
  * Take a substring of another.
  *