Skip to content

Docs for pointer as_ref links to wrong as_mut #96327

Closed
@XrXr

Description

@XrXr

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.

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions