diff options
| author | bors <bors@rust-lang.org> | 2015-08-28 01:06:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-08-28 01:06:51 +0000 |
| commit | 20a8412e09e2883489736b4ae3dc138f243d1a17 (patch) | |
| tree | 356d1f2da5de0ed43f7cca3f7be522236fa1b3e0 /src/rustllvm/RustWrapper.cpp | |
| parent | 8dba06aeee28e9ed6a1b9918a91cbef242af53d3 (diff) | |
| parent | 8af543af5d4588a5b9d32fd01e8888fcf3e258aa (diff) | |
| download | rust-20a8412e09e2883489736b4ae3dc138f243d1a17.tar.gz rust-20a8412e09e2883489736b4ae3dc138f243d1a17.zip | |
Auto merge of #27956 - withoutboats:extend_string, r=alexcrichton
If you have an `Iterator<Item=String>` (say because those items were generated using `.to_string()` or similarly), borrow semantics do not permit you map that to an `Iterator<&'a str>`. These two implementations close a small gap in the `String` API. At the same time I've also made the names of the parameters to `String`'s `Extend` and `FromIterator` implementations consistent.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
