docs: fix verbiage, remove potential confusion, in hello world section (#23310)

This commit is contained in:
p134c0d3 2024-12-30 01:45:02 -06:00 committed by GitHub
parent 4225a346d6
commit 542a8e7826
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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