Skip to content

Commit

Permalink
Use itertool's Either, and reexport it
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Nov 7, 2023
1 parent 356bbc5 commit bac80db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ petgraph = { version = "0.6.3", default-features = false }
context-iterators = "0.2.0"
serde_json = "1.0.97"
delegate = "0.10.0"
either = "1.9.0"

[features]
pyo3 = ["dep:pyo3"]
Expand Down
4 changes: 3 additions & 1 deletion src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
//!
//! These types are re-exported in the root of the crate.

pub use itertools::Either;

use derive_more::From;
use itertools::Either::{Left, Right};

use either::Either::{self, Left, Right};
#[cfg(feature = "pyo3")]
use pyo3::pyclass;

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

pub mod algorithm;
pub mod builder;
mod core;
pub mod core;
pub mod extension;
pub mod hugr;
pub mod macros;
Expand Down

0 comments on commit bac80db

Please sign in to comment.