Methodyfied the string ascii extionsion functions

Added into_owned() method for vectors
Added DoubleEnded Iterator impl to Option
Renamed nil.rs to unit.rs
This commit is contained in:
Marvin Löbel
2013-08-11 04:21:31 +02:00
parent 0efbb25a26
commit a00becd0eb
6 changed files with 87 additions and 46 deletions

View File

@@ -1050,7 +1050,7 @@ pub trait Str {
/// Work with `self` as a slice.
fn as_slice<'a>(&'a self) -> &'a str;
/// Convert `self` into a ~str.
/// Convert `self` into a ~str, not making a copy if possible
fn into_owned(self) -> ~str;
}