Skip to content

fix: Remove keyword prefixes (macro@ or macro ) from links in the docs only if the link target is inferred #20151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

@ChayimFriedman2 ChayimFriedman2 commented Jul 2, 2025

That is, do it for [macro foo], but not for [macro foo](macro foo).

Fixes #20139.

… only if the link target is inferred

That is, do it for `[macro foo]`, but not for `[macro foo](macro foo)`.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 2, 2025
@Veykril Veykril added this pull request to the merge queue Jul 3, 2025
Merged via the queue into rust-lang:master with commit 422a777 Jul 3, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 3, 2025
@ChayimFriedman2 ChayimFriedman2 deleted the keyword-hover-link branch July 3, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Certain keywords inside Markdown links disappear when rendered
3 participants