Skip to content

Commit

Permalink
doc: Fix comment for scan op
Browse files Browse the repository at this point in the history
  • Loading branch information
croyzor committed Dec 10, 2024
1 parent 40e903f commit bbac193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugr-core/src/extension/prelude/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ impl ArrayScanDef {
/// To avoid recursion when defining the extension, take the type definition
/// and a reference to the extension as an argument.
fn signature_from_def(&self, array_def: &TypeDef) -> SignatureFunc {
// array<N, T1>, (T1, *A -> T2, *A), -> array<N, T2>, *A
// array<N, T1>, (T1, *A -> T2, *A), *A, -> array<N, T2>, *A
let params = vec![
TypeParam::max_nat(),
TypeBound::Any.into(),
Expand Down

0 comments on commit bbac193

Please sign in to comment.