docs: use the actual most recent output of c2v in the example

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

View File

@ -47,6 +47,9 @@ It will create `primes.v` with the following contents:
```v ```v
[translated]
module main
fn is_prime(x int) bool { fn is_prime(x int) bool {
for i := 2; i <= x / 2; i++ { for i := 2; i <= x / 2; i++ {
if x % i == 0 { if x % i == 0 {