auto merge of #17232 : untitaker/rust/patch-1, r=alexcrichton
The wording is correct if you consider that two of these lines were extracted from the original example. It still tripped me up while reading, so i just removed any reference to the linecount.
This commit is contained in:
commit
e6a3dabe43
@ -164,7 +164,7 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
These two lines define a **function** in Rust. The `main` function is special:
|
||||
These lines define a **function** in Rust. The `main` function is special:
|
||||
it's the beginning of every Rust program. The first line says "I'm declaring a
|
||||
function named `main`, which takes no arguments and returns nothing." If there
|
||||
were arguments, they would go inside the parentheses (`(` and `)`), and because
|
||||
|
Loading…
Reference in New Issue
Block a user