mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-03 07:48:41 +08:00
Correct a reference since functions isn't the next section
This commit is contained in:
parent
892a44cc7e
commit
f0ab249c32
@ -73,7 +73,7 @@ fn main() {
|
|||||||
The `main()` function is the entry point of every executable Rust program. It
|
The `main()` function is the entry point of every executable Rust program. It
|
||||||
doesn’t have to be at the very beginning of our source code, but it will be the
|
doesn’t have to be at the very beginning of our source code, but it will be the
|
||||||
first bit of code that runs when we execute our program. We’ll talk more about
|
first bit of code that runs when we execute our program. We’ll talk more about
|
||||||
functions in the next section, but for now, just know that `main()` is
|
functions in a later section, but for now, just know that `main()` is
|
||||||
where our program begins. The opening curly brace (`{`) indicates the start of
|
where our program begins. The opening curly brace (`{`) indicates the start of
|
||||||
the function’s body.
|
the function’s body.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user