-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 doc example to HashMap::hasher #44794
Conversation
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.
looks good! just one small comment about whitespace
@@ -691,6 +691,16 @@ impl<K, V, S> HashMap<K, V, S> | |||
/// Returns a reference to the map's [`BuildHasher`]. | |||
/// | |||
/// [`BuildHasher`]: ../../std/hash/trait.BuildHasher.html | |||
/// | |||
/// # Examples |
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 think you might need a newline after this for rustdoc+markdown to treat it as a doc test
Now please squash your commits and we're good to go! |
📌 Commit bc43e17 has been approved by |
Add doc example to HashMap::hasher None
☔ The latest upstream changes (presumably #44936) made this pull request unmergeable. Please resolve the merge conflicts. |
Merged in #44936. |
No description provided.