Skip to content

fix: Show suggestion if same as source #255

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 2 commits into from
Jul 8, 2025

Conversation

Muscraft
Copy link
Member

@Muscraft Muscraft commented Jul 8, 2025

Before this change, if a user passed in a replacement that matched the source text, we would not show the suggestion but still show the Title. The ideal scenario would be to also not show the Title, but we do not have the context to do that. The next best thing to do is to show the suggestion, so that users know they are passing a bad suggestion.

@epage epage merged commit 2ef10ac into rust-lang:master Jul 8, 2025
15 checks passed
@Muscraft Muscraft deleted the sugg-same-as-source branch July 8, 2025 21:32
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.

2 participants