rust-lang / rust-lang/rust-clippy
Deny unmatched left-to-right and right-to-left marker, embedding and override.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
Changing the text direction in a comment without resetting it, may cause differences between the shown and the actual code. (See https://is.gd/35PEW4 for an trivial example.)
This may only apply to a single line, depending on the editor.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked trivial example to reproduce the visual-versus-actual-code problem and determine how unmatched markers behave across a line. Done means Clippy detects and denies unmatched left-to-right/right-to-left markers, embeddings, and overrides; the issue names no file or test, so locating the lint entry point is part of the work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- security, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100