std: remove str::to_chars
This commit is contained in:
parent
8c59d920a1
commit
ebefe425b9
3 changed files with 6 additions and 10 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue