about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-28 01:06:51 +0000
committerbors <bors@rust-lang.org>2015-08-28 01:06:51 +0000
commit20a8412e09e2883489736b4ae3dc138f243d1a17 (patch)
tree356d1f2da5de0ed43f7cca3f7be522236fa1b3e0 /src/rustllvm/RustWrapper.cpp
parent8dba06aeee28e9ed6a1b9918a91cbef242af53d3 (diff)
parent8af543af5d4588a5b9d32fd01e8888fcf3e258aa (diff)
downloadrust-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