rigetti / rigetti/qcs-sdk-rust

Review clippy configuration and address warnings as appropriate

Open
#555 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.