diff --git a/tket2/src/circuit.rs b/tket2/src/circuit.rs index afa9d5a2..c8b13b78 100644 --- a/tket2/src/circuit.rs +++ b/tket2/src/circuit.rs @@ -303,7 +303,7 @@ impl Circuit { } /// Extracts the circuit into a new owned HUGR containing the circuit at the root. - /// Replaces the circuit container operation with an [`OpType::Dfg`]. + /// Replaces the circuit container operation with an [`OpType::DFG`]. /// /// Regions that are not descendants of the parent node are not included in the new HUGR. /// This may invalidate calls to functions defined elsewhere. Make sure to inline any