Skip to content

docs: make Rc::into_raw clickable in Rc::increment_strong_count doc#156783

Open
MingweiSamuel wants to merge 1 commit into
rust-lang:mainfrom
MingweiSamuel:patch-2
Open

docs: make Rc::into_raw clickable in Rc::increment_strong_count doc#156783
MingweiSamuel wants to merge 1 commit into
rust-lang:mainfrom
MingweiSamuel:patch-2

Conversation

@MingweiSamuel
Copy link
Copy Markdown
Contributor

adds doc link

Copilot AI review requested due to automatic review settings May 20, 2026 17:50
@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 May 20, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 20, 2026

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
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: libs
  • libs expanded to 7 candidates

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Improves rustdoc usability for Rc::increment_strong_count by turning the Rc::into_raw mention in its Safety section into an intra-doc link, consistent with nearby documentation style.

Changes:

  • Replace a backticked Rc::into_raw mention with a clickable rustdoc link.
  • Add a corresponding reference-style link target for into_raw alongside existing doc link references.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

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