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

No "Null-unchecked version" section in doc for pointer method as_mut #68032

Closed
tspiteri opened this issue Jan 8, 2020 · 0 comments · Fixed by #68054
Closed

No "Null-unchecked version" section in doc for pointer method as_mut #68032

tspiteri opened this issue Jan 8, 2020 · 0 comments · Fixed by #68054
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@tspiteri
Copy link
Contributor

tspiteri commented Jan 8, 2020

The as_ref method has a "Null-unchecked version" section for both <*const T>::as_ref and <*mut T>::as_ref.

Is there a reason why there is no similar "Null-unchecked version" section in the documentation for <*mut T>::as_mut?

@jonas-schievink jonas-schievink added A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Jan 8, 2020
@bors bors closed this as completed in 9e83df0 Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants