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

Rollup of 4 pull requests #39956

Closed
wants to merge 8 commits into from
Closed

Conversation

mattyw and others added 8 commits February 18, 2017 09:57
Complete drive by nitpick I'm afraid
So I just encountered this error for the first time. It's unclear what
it means, why I encountered it, or how to fix it. But worst of all, it
has a random newline and weird indentation! This commit fixes that last
bit.
Explain that a None is returned if the iterator is empty.
Variable Bindings possible nitpick

Complete drive by nitpick I'm afraid
Fix spelling in hashmap comments

Fixing my bad english from rust-lang#38368

Note to self: triple check spelling/grammar
Fix indentation of error message

So I just encountered this error for the first time. It's unclear what
it means, why I encountered it, or how to fix it. But worst of all, it
has a random newline and weird indentation! This commit fixes that last
bit.

<img width="680" alt="screen shot 2017-02-18 at 4 35 36 pm" src="https://cloud.githubusercontent.com/assets/1529387/23097087/0ef5ac4a-f5f9-11e6-9132-18ce759f7092.png">
Docs: Better explanation of return values for min, max functions for the Iterator trait

Added an explanation that `None` is returned if an iterator is empty.

Also added examples for `max` and `min`. I chose not to add examples for other functions like `max_by_key` etc. so that the examples stay concised and focused on the main functionality.
@GuillaumeGomez
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Contributor

bors commented Feb 19, 2017

📌 Commit a7405db has been approved by GuillaumeGomez

@rust-highfive
Copy link
Collaborator

r? @BurntSushi

(rust_highfive has picked a reviewer for you, use r? to override)

@bors
Copy link
Contributor

bors commented Feb 19, 2017

⌛ Testing commit a7405db with merge 111f3ee...

@bors
Copy link
Contributor

bors commented Feb 19, 2017

💔 Test failed - status-travis

@GuillaumeGomez
Copy link
Member Author

@bors: retry

@bors
Copy link
Contributor

bors commented Feb 19, 2017

⌛ Testing commit a7405db with merge 252e345...

@bors
Copy link
Contributor

bors commented Feb 19, 2017

💔 Test failed - status-appveyor

@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants