[Docs] Fix incorrect return type for example code

This commit is contained in:
Jim Lin 2021-06-09 15:19:43 +08:00
parent 9c27fa3821
commit 9751af22c4
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ The Loop Vectorizer can vectorize loops that count backwards.
.. code-block:: c++
int foo(int *A, int n) {
void foo(int *A, int n) {
for (int i = n; i > 0; --i)
A[i] +=1;
}