diff --git a/tket2/src/passes/commutation.rs b/tket2/src/passes/commutation.rs index b2e58cb4..66b8de7d 100644 --- a/tket2/src/passes/commutation.rs +++ b/tket2/src/passes/commutation.rs @@ -184,7 +184,7 @@ fn commutation_on_port(comms: &[(usize, Pauli)], port: Port) -> Option { .find_map(|(i, p)| (*i == port.index()).then_some(*p)) } -/// Error from a [`PullForward`] operation. +/// Error from a `PullForward` operation. #[derive(Debug, Clone, Error, PartialEq, Eq)] #[allow(missing_docs)] pub enum PullForwardError {