These two lines are actually three.

This commit is contained in:
Markus Unterwaditzer 2014-09-13 15:16:59 +02:00
parent 90304ed266
commit d36ac4def5

View File

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