Skip to content

Commit

Permalink
Fix ambiguous import
Browse files Browse the repository at this point in the history
  • Loading branch information
lmondada committed Sep 28, 2023
1 parent 8c22a9f commit 5681cef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/optimiser/taso.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ mod eq_circ_class;
mod hugr_pchannel;
mod hugr_pqueue;
pub mod log;
#[cfg(feature = "pyo3")]
#[cfg(feature = "portmatching")]
#[cfg(all(feature = "pyo3", feature = "portmatching"))]
pub mod pyo3;
mod qtz_circuit;
mod worker;
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mod pyo3 {
}
}
#[cfg(feature = "pyo3")]
pub(crate) use pyo3::pyobj_as_hugr;
pub(crate) use self::pyo3::pyobj_as_hugr;

// utility for building simple qubit-only circuits.
#[allow(unused)]
Expand Down

0 comments on commit 5681cef

Please sign in to comment.