Commit 10e9a75
committed
feat: Hugrmut on generic nodes
- Allows `HugrMut` to be implemented for `HugrView`s with arbitrary node
types
- Removes `HugrMutInternals::hugr_mut(&mut self) -> &mut Hugr`, it can
be implemented for more complex types
drive-by: Fix a couple bugs in rewrite implementations that assumed that
`SiblingMut` contained transitive children.1 parent d8a5d67 commit 10e9a75
File tree
29 files changed
+638
-567
lines changed- hugr-core/src
- builder
- hugr
- rewrite
- views
- hugr-llvm/src/utils
- hugr-passes/src
- dataflow
- replace_types
29 files changed
+638
-567
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments