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

Add missing urls in collections module #37304

Merged
merged 1 commit into from
Oct 25, 2016

Conversation

GuillaumeGomez
Copy link
Member

@steveklabnik
Copy link
Member

@bors: delegate=frewsxcv

@bors
Copy link
Contributor

bors commented Oct 24, 2016

✌️ @frewsxcv can now approve this pull request

//! done, the vacant entry is consumed and converted into a mutable reference to
//! the value that was inserted. This allows for further manipulation of the
//! value beyond the lifetime of the search itself. This is useful if complex
//! logic needs to be performed on the value regardless of whether the value was
//! just inserted.
//!
//! If an `Occupied(entry)` is yielded, then the key *was* found. In this case,
//! the user has several options: they can `get`, `insert`, or `remove` the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm generally in favor of the serial comma, but I'm not sure if Rust has an official policy around this. Regardless, in this particular instance, I don't think there's any ambiguity in either scenario so I won't waste your time changing it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, generally very pro, unsure if we've made it actual policy.

Copy link
Member Author

@GuillaumeGomez GuillaumeGomez Oct 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As said on IRC: I'm in favor for more fluidity. Commas break readings and shouldn't be more present than necessary.

@frewsxcv
Copy link
Member

Looks great, thanks! ✨

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Oct 24, 2016

📌 Commit 9ec7c65 has been approved by frewsxcv

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Oct 24, 2016
…rewsxcv

Add missing urls in collections module

r? @steveklabnik
bors added a commit that referenced this pull request Oct 24, 2016
Rollup of 7 pull requests

- Successful merges: #37228, #37304, #37324, #37328, #37336, #37349, #37372
- Failed merges:
@bors bors merged commit 9ec7c65 into rust-lang:master Oct 25, 2016
@GuillaumeGomez GuillaumeGomez deleted the collections_url branch October 25, 2016 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants