docs(num): fix stale link to mem::Alignment#155493
Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom Apr 20, 2026
Merged
docs(num): fix stale link to mem::Alignment#155493rust-bors[bot] merged 1 commit intorust-lang:mainfrom
mem::Alignment#155493rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
Collaborator
|
r? @scottmcm rustbot has assigned @scottmcm. Use Why was this reviewer chosen?The reviewer was selected based on:
|
GrigorenkoPV
approved these changes
Apr 18, 2026
Contributor
There was a problem hiding this comment.
This reminds me to update #153261 with the removal of those deprecated names
Member
|
@bors r+ rollup |
Contributor
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Apr 20, 2026
…, r=scottmcm docs(num): fix stale link to `mem::Alignment` This pull request updates a stale link to `mem::Alignment` in `num::IntErrorKind`. In rust-lang#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
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Apr 20, 2026
…, r=scottmcm docs(num): fix stale link to `mem::Alignment` This pull request updates a stale link to `mem::Alignment` in `num::IntErrorKind`. In rust-lang#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
rust-bors Bot
pushed a commit
that referenced
this pull request
Apr 20, 2026
Rollup of 6 pull requests Successful merges: - #154654 (Move `std::io::ErrorKind` to `core::io`) - #155054 (constify `Index(Mut)`, `Deref(Mut)` for `Vec`) - #155507 (suggest expect instead of unwrap when arg provided) - #154664 (core/num: Implement feature `integer_cast_extras`) - #155474 (Rename incremental `cfail`/`cpass` revisions to `bfail`/`bpass`) - #155493 (docs(num): fix stale link to `mem::Alignment`)
rust-bors Bot
pushed a commit
that referenced
this pull request
Apr 20, 2026
…uwer Rollup of 10 pull requests Successful merges: - #155054 (constify `Index(Mut)`, `Deref(Mut)` for `Vec`) - #155264 (Add autocast support for `x86amx`) - #155507 (suggest expect instead of unwrap when arg provided) - #154664 (core/num: Implement feature `integer_cast_extras`) - #155238 (compiletest: add a new diff for compare-out-by-lines tests.) - #155474 (Rename incremental `cfail`/`cpass` revisions to `bfail`/`bpass`) - #155493 (docs(num): fix stale link to `mem::Alignment`) - #155529 (Remove `AttributeLintKind` variants - part 3) - #155531 (Tweak `is_ascii_punctuation()` docs wording) - #155533 (Provide a const new for `GlobalCache`)
rust-timer
added a commit
that referenced
this pull request
Apr 20, 2026
Rollup merge of #155493 - sorairolake:fix-alignment-doc-link, r=scottmcm docs(num): fix stale link to `mem::Alignment` 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
github-actions Bot
pushed a commit
to rust-lang/rustc-dev-guide
that referenced
this pull request
Apr 20, 2026
…uwer Rollup of 10 pull requests Successful merges: - rust-lang/rust#155054 (constify `Index(Mut)`, `Deref(Mut)` for `Vec`) - rust-lang/rust#155264 (Add autocast support for `x86amx`) - rust-lang/rust#155507 (suggest expect instead of unwrap when arg provided) - rust-lang/rust#154664 (core/num: Implement feature `integer_cast_extras`) - rust-lang/rust#155238 (compiletest: add a new diff for compare-out-by-lines tests.) - rust-lang/rust#155474 (Rename incremental `cfail`/`cpass` revisions to `bfail`/`bpass`) - rust-lang/rust#155493 (docs(num): fix stale link to `mem::Alignment`) - rust-lang/rust#155529 (Remove `AttributeLintKind` variants - part 3) - rust-lang/rust#155531 (Tweak `is_ascii_punctuation()` docs wording) - rust-lang/rust#155533 (Provide a const new for `GlobalCache`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates a stale link to
mem::Alignmentinnum::IntErrorKind.In #153178, I added a link to
AlignmentinIntErrorKind, but I overlooked thatAlignmenthad been moved fromcore::ptrtocore::mem. Although it is still re-exported incore::ptr, this pull request points the link to its canonical location.@rustbot label +A-docs