Skip to content

Rollup of 8 pull requests #39735

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

Closed
wants to merge 21 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3bd6e46
Specialize `PartialOrd<A> for [A] where A: Ord`
Feb 8, 2017
ececbb2
Simplify by calling SliceOrd::compare
Feb 8, 2017
a344c12
Remove unnecessary specialization for [u8]
Feb 8, 2017
67574cc
Don't include directory names in shasums
alexcrichton Feb 8, 2017
de59d5d
Actually fix manifest generation
alexcrichton Feb 9, 2017
1095082
remove wrong packed struct test
oli-obk Feb 9, 2017
c7f9811
removed unused struct
oli-obk Feb 9, 2017
b3937ea
Explicitly mention that `Vec::reserve` is based on len not capacity
sgrif Feb 9, 2017
e491f39
Update 1.15.1 relnotes
brson Feb 10, 2017
5cc5e08
Fix a misleading statement in `Iterator.nth()`
Jan 19, 2017
ebf29ef
Rephrase my proposed edit ("objects" -> "elements")
Jan 19, 2017
11d36ae
iterator docs: Move paragraph about discarding; clarify "consumed"
Feb 10, 2017
5c29511
Updated installing nightly instructions
Feb 10, 2017
570f858
Rollup merge of #39174 - rspeer:iter-nth-doc-fix, r=alexcrichton
frewsxcv Feb 11, 2017
864d206
Rollup merge of #39642 - stjepang:specialize-slice-partialord, r=alex…
frewsxcv Feb 11, 2017
0052928
Rollup merge of #39660 - alexcrichton:shasum-dirs, r=brson
frewsxcv Feb 11, 2017
8844e92
Rollup merge of #39676 - alexcrichton:fix-again, r=brson
frewsxcv Feb 11, 2017
608be0e
Rollup merge of #39692 - oli-obk:patch-2, r=aturon
frewsxcv Feb 11, 2017
3c9691a
Rollup merge of #39701 - sgrif:sg-vec-reserve-docs, r=alexcrichton
frewsxcv Feb 11, 2017
a069f7d
Rollup merge of #39710 - brson:151notes, r=alexcrichton
frewsxcv Feb 11, 2017
304cda2
Rollup merge of #39725 - Aaronepower:master, r=steveklabnik
frewsxcv Feb 11, 2017
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
Prev Previous commit
Next Next commit
Rephrase my proposed edit ("objects" -> "elements")
  • Loading branch information
Rob Speer authored and Rob Speer committed Feb 10, 2017
commit ebf29ef0733ec0ac13ef16eb42bac17e3b94da3c
2 changes: 1 addition & 1 deletion src/libcore/iter/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ pub trait Iterator {
/// Note that all preceding elements, as well as the returned element, will be
/// consumed. That means that the preceding elements will be discarded, and also
/// that calling `nth(0)` multiple times on the same iterator will return different
/// objects.
/// elements.
///
/// Like most indexing operations, the count starts from zero, so `nth(0)`
/// returns the first value, `nth(1)` the second, and so on.
Expand Down