Skip to content

Commit

Permalink
feat: Add clippy lint for mut calls in a debug_assert (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q authored Sep 4, 2023
1 parent 3e795d7 commit c53df7a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![warn(missing_docs)]

//! `hugr` is the Hierarchical Unified Graph Representation of quantum circuits
//! and operations in the Quantinuum ecosystem.
//!
Expand All @@ -9,6 +7,11 @@
//! structures.
//!
#![warn(missing_docs)]
// Unstable check, may cause false positives.
// https://github.com/rust-lang/rust-clippy/issues/5112
#![warn(clippy::debug_assert_with_mut_call)]

pub mod algorithm;
pub mod builder;
pub mod extension;
Expand Down

0 comments on commit c53df7a

Please sign in to comment.