rust-lang / rust-lang/rust-clippy
suggest raw strings over strings with escaped quotes
Open
Nobody has claimed this yet.
A-lint
L-style
S-needs-discussion
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
I think "foo=\"bar\", boo" is less nice than r#"foo="bar", boo"#
Maybe it should only be a restriction lint. Not sure.
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 by reviewing the issue's proposed raw-string style and the existing Clippy lint conventions in the rust-clippy repository. Decide whether this should be a restriction lint and define the expected behavior before identifying the implementation and tests needed to verify it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100