docs: use the actual most recent output of c2v in the example
parent
b8d9bfec16
commit
a7108ff05c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue