Url pointing to invalid methods in documentation of pointer type #50746
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
https://doc.rust-lang.org/std/primitive.pointer.html
https://doc.rust-lang.org/nightly/std/primitive.pointer.html
It turns out that the pointer type is implemented twice: for
impl<T> *const T
andimpl<T> *mut T
. However, the index section contains links to the first implementation only, whereas methods from the second implementation have different href anchors:For example, links from the index:
https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.is_null
https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.is_null
And actual anchors:
https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.is_null
https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.is_null-1
The same in stable version.
cc @steveklabnik (I don't know the name of the docs team, unfortunately)
cc @GuillaumeGomez probably
Possibly related to #24558.
The text was updated successfully, but these errors were encountered: