diff --git a/hugr-core/src/export.rs b/hugr-core/src/export.rs index a4bfbac46..289559539 100644 --- a/hugr-core/src/export.rs +++ b/hugr-core/src/export.rs @@ -76,6 +76,8 @@ struct Context<'a> { /// Mapping from node ids in the [`Hugr`] to the corresponding model nodes. id_to_node: FxHashMap, + // TODO: Once this module matures, we should consider adding an auxiliary structure + // that ensures that the `node_to_id` and `id_to_node` maps stay in sync. } impl<'a> Context<'a> {