-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clippy issues flagged by latest rust version (#13405)
* 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 <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters