From a7108ff05c8bc5c49bdeaba218e263321312ba42 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 23 Jun 2022 01:39:39 +0300 Subject: [PATCH] docs: use the actual most recent output of c2v in the example --- tutorials/C2V_translating_simple_programs_and_DOOM/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutorials/C2V_translating_simple_programs_and_DOOM/README.md b/tutorials/C2V_translating_simple_programs_and_DOOM/README.md index d61095d9a4..593aa74a50 100644 --- a/tutorials/C2V_translating_simple_programs_and_DOOM/README.md +++ b/tutorials/C2V_translating_simple_programs_and_DOOM/README.md @@ -47,6 +47,9 @@ It will create `primes.v` with the following contents: ```v +[translated] +module main + fn is_prime(x int) bool { for i := 2; i <= x / 2; i++ { if x % i == 0 {