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

Docs for pointer as_ref links to wrong as_mut #96327

Closed
XrXr opened this issue Apr 22, 2022 · 1 comment · Fixed by #96336
Closed

Docs for pointer as_ref links to wrong as_mut #96327

XrXr opened this issue Apr 22, 2022 · 1 comment · Fixed by #96336
Assignees
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools

Comments

@XrXr
Copy link
Contributor

XrXr commented Apr 22, 2022

Nightly: https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref-1
Stable: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref-1

The link in "For the mutable counterpart see as_mut" goes to the experimental safe as_mut from #92675 while I think it intends to go to the stable unsafe as_mut.

@Noratrieb
Copy link
Member

@rustbot claim

@GuillaumeGomez GuillaumeGomez added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Apr 27, 2022
@bors bors closed this as completed in 1386a02 May 8, 2022
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants