rigetti / rigetti/qcs-sdk-rust
Review clippy configuration and address warnings as appropriate
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 15
- Forks
- 4
- Avg merge
- 1h 9m
- Merged PRs (30d)
- 1
Description
Our clippy allow/deny list is a bit dated (and in particular, it predates the ability to specify the lint levels in Cargo.toml, which is preferable to doing so in lib.rs). We have at least one performance-oriented list, result_large_error, that we should fix in the code, but which is currently configured as a warning. We should review the configuration, move it into Cargo.toml, and apply code fixes where appropriate.
Contributor guide
No contributing guide indexed for this repository
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 existing Clippy configuration in lib.rs and the Cargo.toml lint configuration options, then identify how result_large_error and the other listed lints are currently handled. Done means the configuration is reviewed and moved into Cargo.toml where appropriate, with suitable code fixes applied for warnings such as result_large_error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100