Update docs.md
parent
d0fe96da39
commit
e3521555a3
|
@ -129,7 +129,7 @@ See `v help` for all supported commands.
|
|||
|
||||
From the example above, you can see that functions are declared with the `fn` keyword.
|
||||
The return type is specified after the function name.
|
||||
In this case `main` doesn't return anything, so the return type can be omitted.
|
||||
In this case `main` doesn't return anything, so there is now return type.
|
||||
|
||||
As in many other languages (such as C, Go and Rust), `main` is the entry point of your program.
|
||||
|
||||
|
|
Loading…
Reference in New Issue