From ebefe425b962d3914cc523d7f539fdb2244cec06 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Tue, 11 Jun 2013 00:49:19 +1000 Subject: std: remove str::to_chars --- src/libstd/str.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/libstd') 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. * -- cgit 1.4.1-3-g733a5