-
Notifications
You must be signed in to change notification settings - Fork 301
Improving documentation. #328
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
Conversation
Improved hashbrown documentation. Changed some examples so that they become full-fledged tests.
I really don't know how change try_reserve example that must return error |
Continuation of rust-lang#328.
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.
LGTM! One thing I noticed is that we are somewhat inconsistent in the doc headers: sometimes we use Examples
and other times we use Example
. It would be nice to consistently use one or the other.
Also, do you have any plans to submit these doc changes upstream to rust-lang/rust so that they appear in the standard library docs?
I think so, but it will take time. I will need to parse the existing |
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
Ready! Update as per your request. I also looked at the existing documentation for
I'll bring this up in the next pull request #331. |
@bors r+ |
📌 Commit 5e4f858 has been approved by |
☀️ Test successful - checks-actions |
Improved hashbrown documentation. Changed some examples so that they become full-fledged tests.