From bfb926a5446339844a322186c06a147df90cb92a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 31 May 2020 11:12:37 +0200 Subject: [PATCH] doc: minor clean up --- doc/docs.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index eb994544ed..8f7b77e9c7 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -93,14 +93,14 @@ fn main() { ``` Save that snippet into a file `hello.v` . Now do: `v run hello.v` . -(That is assuming you have symlinked your V with `v symlink`, as described here -[Symlinking](https://github.com/vlang/v/blob/master/README.md#symlinking). -If you have not yet, you have to type the path to v/v.exe manually.) +> That is assuming you have symlinked your V with `v symlink`, as described +[here](https://github.com/vlang/v/blob/master/README.md#symlinking). +If you have not yet, you have to type the path to V manually. Congratulations - you just wrote your first V program, and executed it! -(You can compile a program without execution, with: `v hello.v`. -See `v help` for all supported commands) +> You can compile a program without execution with `v hello.v`. +See `v help` for all supported commands. In the above example, you can see that functions are declared with `fn`. The return type goes after the function name. In this case `main` doesn't