diff --git a/doc/docs.md b/doc/docs.md index 4537e8220f..653348c208 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -262,7 +262,7 @@ As in many other languages (such as C, Go, and Rust), `main` is the entry point [`println`](#println) is one of the few [built-in functions](#builtin-functions). It prints the value passed to it to standard output. -`fn main()` declaration can be skipped in one file programs. +`fn main()` declaration can be skipped in single file programs. This is useful when writing small programs, "scripts", or just learning the language. For brevity, `fn main()` will be skipped in this tutorial.