From 542a8e782631bc5df1b2c207b7254ec3cee4384b Mon Sep 17 00:00:00 2001 From: p134c0d3 <70922864+p134c0d3@users.noreply.github.com> Date: Mon, 30 Dec 2024 01:45:02 -0600 Subject: [PATCH] docs: fix verbiage, remove potential confusion, in hello world section (#23310) --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.