From f09180224fa7d16301d6783580aa340850a8a97d Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 22 Dec 2020 16:19:55 +0100 Subject: [PATCH] Update docs.md --- doc/docs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index eb9207cfcaf593..ecf8f6b4bd97d1 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -129,9 +129,9 @@ 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 there is now return type. +In this case `main` doesn't return anything, so there is no return type. -As in many other languages (such as C, Go and Rust), `main` is the entry point of your program. +As in many other languages (such as C, Go, and Rust), `main` is the entry point of your program. `println` is one of the few built-in functions. It prints the value passed to it to standard output.