Skip to content

Broken parameter links in some of the stdlib documentation #121106

Closed

Description

  1. Go to https://doc.rust-lang.org/std/simd/type.u8x1.html#method.len
  2. Click on the usize return parameter
  3. The link goes here: https://doc.rust-lang.org/primitive.usize.html

This happens with other parameters. But if you go to the SIMD page through the prelude the link is not broken. Nor is it broken on the portable simd docs. There are other things broken, such as slices on the SIMD page as well. It is also on other SIMD types' documentation pages. I don't know the exact pattern though.

I expected to see this happen:

The link would be to this page: https://doc.rust-lang.org/std/primitive.usize.html

Instead, this happened:

The link is to this page: https://doc.rust-lang.org/primitive.usize.html

Basically it seems to not be inserting the "std" directory in the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions