Skip to content

Commit 367cc9f

Browse files
Fix ColsRef macro spec
1 parent 4e2dcdf commit 367cc9f

File tree

1 file changed

+1
-1
lines changed
  • crates/circuits/primitives/derive/src/cols_ref

1 file changed

+1
-1
lines changed

crates/circuits/primitives/derive/src/cols_ref/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct ExampleCols<T, const N: usize> {
4444
which will generate a columns struct that uses references to the fields.
4545
```rust
4646
struct ExampleColsRef<'a, T, const N: usize> {
47-
arr: &'a [T; N],
47+
arr: ndarray::ArrayView1<'a, T>, // an n-dimensional view into the input slice (ArrayView2 for 2D arrays, etc.)
4848
sum: &'a T,
4949
}
5050
```

0 commit comments

Comments
 (0)