Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rolling up PRs in the queue #19665

Merged
merged 51 commits into from
Dec 9, 2014
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e1b77b0
fix 404
nhoss2 Dec 5, 2014
7bf7bd6
work around portability issue on FreeBSD, in which the key returned from
aidancully Dec 5, 2014
c394a6c
prefer "FIXME" to "TODO".
aidancully Dec 5, 2014
8ebc1c9
librustc: Fix debuginfo for captured variables in non-FnOnce unboxed …
luqmana Dec 5, 2014
363ed2f
Correct minor typos on the ownership guide.
MattWindsor91 Dec 6, 2014
796e4b8
Typo
mdinger Dec 6, 2014
e852419
Feature-gate explicit unboxed closure method calls & manual impls,
huonw Dec 5, 2014
b800ce1
Implement lifetime elision for Foo(...) -> ... type sugar.
huonw Dec 6, 2014
9cb26e2
Add a doctest for BTreeMap's iter method.
jbranchaud Dec 6, 2014
de8f48b
- Support gcc-less installation on Windows. To do so in unattended m…
vadimcn Dec 6, 2014
87424c6
Fix false positive alerts from a run-pass test on Command.
nodakai Dec 6, 2014
2171c95
Add missing semicolon to hello world program in intro.
jbranchaud Dec 6, 2014
8ba5605
remove usage of notrust from the docs
steveklabnik Dec 7, 2014
131f202
Correct the reference with regards to floats
steveklabnik Dec 7, 2014
e294772
Add enum namespacing to the Guide.
steveklabnik Dec 7, 2014
58f1274
Make MemoryMap use HANDLE on Windows.
retep998 Dec 7, 2014
c8bd9d2
Remove mention of Dequeue in collections docs.
steveklabnik Dec 7, 2014
d7d5ccf
string: Use the iterator size_hint() in .extend()
Dec 7, 2014
5ba7c5d
string: Implement FromIterator<&str> and Extend<&str> for String
Dec 7, 2014
8dcdd1e
syntax: use UFCS in the expansion of `#[deriving(Ord)]`
Dec 6, 2014
56c4e97
string: Add test for FromIterator<char> and Extend<char>
Dec 7, 2014
a813469
string: Add test for FromIterator<&str> and Extend<&str>
Dec 7, 2014
956c581
documentation incorrectly described from_utf8
rustyrazorblade Dec 7, 2014
ad7dacd
Implemented BorrowFrom<Rc<T>> for T.
aatxe Dec 8, 2014
9af324a
Remove Result and Option reexports
frewsxcv Dec 8, 2014
553ab27
serialize: base64: allow LF in addition to CRLF and optimize slightly
Arcterus Dec 6, 2014
a943a7a
serialize: base64: improve newline handling speed
Arcterus Dec 6, 2014
a119ad8
serialize: base64: remove some .as_bytes() from the tests
Arcterus Dec 9, 2014
a09632f
rollup merge of #19576: nhoss2/master
alexcrichton Dec 9, 2014
39b5711
rollup merge of #19577: aidancully/master
alexcrichton Dec 9, 2014
2593070
rollup merge of #19581: luqmana/duc
alexcrichton Dec 9, 2014
6a652cf
rollup merge of #19584: CaptainHayashi/patch-1
alexcrichton Dec 9, 2014
60f97fc
rollup merge of #19585: mdinger/guide_typo
alexcrichton Dec 9, 2014
26c2422
rollup merge of #19587: huonw/closure-feature-gate
alexcrichton Dec 9, 2014
356193b
rollup merge of #19588: nodakai/libstd-fix-zombie-children-finder
alexcrichton Dec 9, 2014
63ef9e9
rollup merge of #19589: huonw/unboxed-closure-elision
alexcrichton Dec 9, 2014
ae60f9c
rollup merge of #19592: jbranchaud/add-btreemap-iter-doctest
alexcrichton Dec 9, 2014
d0ad3c7
rollup merge of #19594: Arcterus/master
alexcrichton Dec 9, 2014
2a244ce
rollup merge of #19598: japaric/ord
alexcrichton Dec 9, 2014
c56344b
rollup merge of #19604: vadimcn/gcc-less
alexcrichton Dec 9, 2014
ae805da
rollup merge of #19608: jbranchaud/add-missing-semicolon-in-intro
alexcrichton Dec 9, 2014
fb587f1
rollup merge of #19614: steveklabnik/gh19599
alexcrichton Dec 9, 2014
e6d8190
rollup merge of #19615: steveklabnik/gh19595
alexcrichton Dec 9, 2014
a2e9c99
rollup merge of #19616: steveklabnik/gh19556
alexcrichton Dec 9, 2014
4a49912
rollup merge of #19620: retep998/memorymap
alexcrichton Dec 9, 2014
21e5efb
rollup merge of #19622: steveklabnik/fix_ringbuf_doc
alexcrichton Dec 9, 2014
1cbb075
rollup merge of #19623: rustyrazorblade/patch-1
alexcrichton Dec 9, 2014
4b34f3c
rollup merge of #19626: bluss/string-extend-str
alexcrichton Dec 9, 2014
b4b1bb0
rollup merge of #19642: aaronweiss74/master
alexcrichton Dec 9, 2014
2457375
rollup merge of #19653: frewsxcv/rm-reexports
alexcrichton Dec 9, 2014
1a61fe4
Test fixes and rebase conflicts from the rollup
alexcrichton Dec 9, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/libcollections/string.rs
Original file line number Diff line number Diff line change
@@ -732,6 +732,8 @@ impl FromIterator<char> for String {
#[experimental = "waiting on Extend stabilization"]
impl Extend<char> for String {
fn extend<I:Iterator<char>>(&mut self, mut iterator: I) {
let (lower_bound, _) = iterator.size_hint();
self.reserve(lower_bound);
for ch in iterator {
self.push(ch)
}