diff --git a/aztec/src/utils/array/collapse.nr b/aztec/src/utils/array/collapse.nr index 22ac88ae..3d86f5a5 100644 --- a/aztec/src/utils/array/collapse.nr +++ b/aztec/src/utils/array/collapse.nr @@ -9,7 +9,7 @@ pub fn collapse(input: [Option; N]) -> BoundedVec where T: Eq, { - // Computing the collpased BoundedVec would result in a very large number of constraints, since we'd need to loop + // Computing the collapsed BoundedVec would result in a very large number of constraints, since we'd need to loop // over the input array and conditionally write to a dynamic vec index, which is a very unfriendly pattern to the // proving backend. // Instead, we use an unconstrained function to produce the final collapsed array, along with some hints, and then