Skip to content

docs(num): fix stale link to mem::Alignment#155493

Open
sorairolake wants to merge 1 commit intorust-lang:mainfrom
sorairolake:fix-alignment-doc-link
Open

docs(num): fix stale link to mem::Alignment#155493
sorairolake wants to merge 1 commit intorust-lang:mainfrom
sorairolake:fix-alignment-doc-link

Conversation

@sorairolake
Copy link
Copy Markdown
Contributor

@sorairolake sorairolake commented Apr 18, 2026

This pull request updates a stale link to mem::Alignment in num::IntErrorKind.

In #153178, I added a link to Alignment in IntErrorKind, but I overlooked that Alignment had been moved from core::ptr to core::mem. Although it is still re-exported in core::ptr, this pull request points the link to its canonical location.

@rustbot label +A-docs

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Apr 18, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 18, 2026

r? @scottmcm

rustbot has assigned @scottmcm.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @scottmcm, libs
  • @scottmcm, libs expanded to 7 candidates
  • Random selection from Mark-Simulacrum, jhpratt, scottmcm

@rustbot rustbot added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Apr 18, 2026
Copy link
Copy Markdown
Contributor

@GrigorenkoPV GrigorenkoPV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reminds me to update #153261 with the removal of those deprecated names

View changes since this review

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 S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants