diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-11 00:49:19 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-11 00:49:19 +1000 |
| commit | ebefe425b962d3914cc523d7f539fdb2244cec06 (patch) | |
| tree | 0cc1f5e4804870961a6d04dcd7ea7f5b1e04042c /src/libstd | |
| parent | 8c59d920a12fe40398a0033438ff426bb3387fd0 (diff) | |
| download | rust-ebefe425b962d3914cc523d7f539fdb2244cec06.tar.gz rust-ebefe425b962d3914cc523d7f539fdb2244cec06.zip | |
std: remove str::to_chars
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/str.rs | 5 |
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. * |
