diff options
| author | bors <bors@rust-lang.org> | 2013-08-14 08:35:15 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-14 08:35:15 -0700 |
| commit | 927aff1724465ca92b49153236c96781038dc17e (patch) | |
| tree | fc86e33c55113833391060cb8143436e8c8846f4 /src/rt/rust_stack.cpp | |
| parent | 836a3d9bdbea4561cc49944a05135e2d8abf5371 (diff) | |
| parent | a00becd0eb8c04dc7416a5f8a633b73c9080c65d (diff) | |
| download | rust-927aff1724465ca92b49153236c96781038dc17e.tar.gz rust-927aff1724465ca92b49153236c96781038dc17e.zip | |
auto merge of #8452 : Kimundi/rust/stuff02, r=bstrie
- Methodyfied the string ascii extionsion functions - They got added recently, I wrapped them in a trait. - Added `into_owned()` method for vectors - similar to `Str`'s `into_owned()` function, allows to convert to a owned vector without making a copy if the source is a owned vector. - Added `or_some` method to option - similar to `unwrap_or_default`, but keeps the values wrapped in an `Option`. Useful for `Option` chains, eg Iterator impls. - Added `DoubleEndedIterator` impl to `Option` - Just for compatibility with generic Iterator functions. - Renamed nil.rs to unit.rs - the type got renamed ages ago, it's time the source file is as well.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
