-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Conversation
@bors: delegate=frewsxcv |
✌️ @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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Looks great, thanks! ✨ @bors r+ rollup |
📌 Commit 9ec7c65 has been approved by |
…rewsxcv Add missing urls in collections module r? @steveklabnik
r? @steveklabnik