Ran
|
Jobs
1
|
Files
914
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
Fix clippy issues flagged by latest rust version (#13405) (#13409) * Fix clippy issues flagged by latest rust version This commit fixes 2 issues flagged by running by clippy with Rust 1.82. We run clippy in CI with Qiskit's MSRV of 1.70, as sometimes clippy will flag failures for not using a syntax which isn't compatible with the MSRV. These issues flagged here are real, and good to fix, especially the docstring one, the `////` comment isn't a docstring and that excludes the circuit diagram from the docs which wasn't the intent there. * Remove unnecessary .borrow() call --------- Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com> (cherry picked from commit e63168519) Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2 of 2 new or added lines in 2 files covered. (100.0%)
11 existing lines in 3 files now uncovered.79054 of 88902 relevant lines covered (88.92%)
361146.09 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
94.02 |
-0.24% | crates/qasm2/src/expr.rs |
4 |
91.73 |
-0.5% | crates/qasm2/src/lex.rs |
6 |
97.62 |
0.92% | crates/qasm2/src/parse.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11741979144.1 | 914 |
88.92 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|