-
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 note to documentation of HashSet::intersection #97700
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @thomcc (or someone else) soon. Please see the contribution instructions for more information. |
Ignore me.
Footnotes
|
CC @Amanieu (who might have stronger opinions about the things we may want to promise here). |
😕❓ rust/library/std/src/collections/hash/set.rs Lines 610 to 614 in 9a74608
|
Wow, yep, my bad, I'm not sure what I was even looking at (... probably my lunch). So I don't think this needs API decision, although the currently assigned reviewer can take it. |
Co-authored-by: David Tolnay <[email protected]>
Co-authored-by: David Tolnay <[email protected]>
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.
Thanks!
@bors r+ rollup |
📌 Commit 7d114c7 has been approved by |
…askrgr Rollup of 3 pull requests Successful merges: - rust-lang#97700 (Add note to documentation of HashSet::intersection) - rust-lang#97792 (More eslint checks) - rust-lang#97794 (Fix typo in redundant_pattern_match.rs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
The functionality of the
std::collections::HashSet::intersection(...)
method was slightly surprising to me so I wanted to take a sec to contribute to the documentation for this method.I've added a
Note:
section if that is appropriate.