Skip to content

Commit ef1cba0

Browse files
authored
fix!: Don't expose HugrMutInternals (#2071)
`HugrMutInternals` is part of the semi-private traits defined in `hugr-core`. While most things get re-exported in `hugr`, we `*Internal` traits require you to explicitly declare a dependency on the `-core` package (as we don't want most users to have to interact with them). For some reason there was a public re-export of the trait in a re-exported module, so it ended up appearing in `hugr` anyways. BREAKING CHANGE: Removed public re-export of `HugrMutInternals` from `hugr`.
1 parent 81447ec commit ef1cba0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hugr-core/src/hugr/rewrite/simple_replace.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use std::collections::HashMap;
44

55
use crate::core::HugrNode;
66
use crate::hugr::hugrmut::InsertionResult;
7-
pub use crate::hugr::internal::HugrMutInternals;
87
use crate::hugr::views::SiblingSubgraph;
98
use crate::hugr::{HugrMut, HugrView, Rewrite};
109
use crate::ops::{OpTag, OpTrait, OpType};

0 commit comments

Comments
 (0)