docs: fix C primes example in the tutorials (fixes c2v translation on linux)

master
Delyan Angelov 2022-06-23 01:35:45 +03:00
parent 436081a9f5
commit b8d9bfec16
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@ and various expressions.
```c
#include <stdio.h>
#include <math.h>
#include <stdbool.h>
bool is_prime(int x) {
for (int i = 2; i <= x / 2; i++) {
@ -35,7 +35,6 @@ int main() {
}
return 0;
}
```
We can translate the C file to V by simply running