Skip to content
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

Correctly handle closing parens in missing_backticks doc lint #12809

Merged
merged 1 commit into from
May 25, 2024

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented May 16, 2024

Fixes #12795.

changelog: Correctly handle closing parens in doc_markdown lint

@rustbot
Copy link
Collaborator

rustbot commented May 16, 2024

r? @y21

rustbot has assigned @y21.
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

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label May 16, 2024
@GuillaumeGomez
Copy link
Member Author

test dogfood_clippy has been running for over 60 seconds
test dogfood_clippy ... FAILED

Should we be worried? ^^'

tests/ui/doc/issue_12795.stderr Outdated Show resolved Hide resolved
clippy_lints/src/doc/markdown.rs Outdated Show resolved Hide resolved
@y21
Copy link
Member

y21 commented May 17, 2024

test dogfood_clippy has been running for over 60 seconds
test dogfood_clippy ... FAILED

Should we be worried? ^^'

Wdym by this?

@GuillaumeGomez GuillaumeGomez force-pushed the missing-backticks-fix branch 2 times, most recently from 5a54e6b to 344c3bc Compare May 21, 2024 11:52
@GuillaumeGomez
Copy link
Member Author

Fixed it! I forgot to add the offset for the range, leading to wrong checks and invalid span.

Copy link
Member

@y21 y21 left a comment

Choose a reason for hiding this comment

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

Sorry for the slight delay, LGTM now

@y21
Copy link
Member

y21 commented May 25, 2024

Thanks! @bors r+

@bors
Copy link
Contributor

bors commented May 25, 2024

📌 Commit 4f98cc6 has been approved by y21

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented May 25, 2024

⌛ Testing commit 4f98cc6 with merge 5d10538...

@bors
Copy link
Contributor

bors commented May 25, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: y21
Pushing 5d10538 to master...

@bors bors merged commit 5d10538 into rust-lang:master May 25, 2024
5 checks passed
@GuillaumeGomez GuillaumeGomez deleted the missing-backticks-fix branch May 25, 2024 12:30
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

doc_markdown scope problem
4 participants