Update docs.md

pull/7472/head
Alexander Medvednikov 2020-12-22 16:19:32 +01:00 committed by GitHub
parent d0fe96da39
commit e3521555a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.