We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f514a3e commit 2a7705aCopy full SHA for 2a7705a
1 file changed
text/3838-scalable-vectors.md
@@ -88,6 +88,8 @@ following example that sums two input vectors:
88
89
```rust
90
fn sve_add(in_a: Vec<f32>, in_b: Vec<f32>, out_c: &mut Vec<f32>) {
91
+ assert_eq!(in_a.len(), in_b.len());
92
+ assert_eq!(in_a.len(), out_c.len());
93
let len = in_a.len();
94
unsafe {
95
// `svcntw` returns the actual number of elements that are in a 32-bit
0 commit comments