Skip to content

Commit

Permalink
Merge pull request #2386 from YEriin/patch-1
Browse files Browse the repository at this point in the history
Update ch01-02-hello-world.md
  • Loading branch information
steveklabnik authored Jun 27, 2020
2 parents c9d5db3 + fce7281 commit bcf17fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ch01-02-hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ Inside the `main` function is the following code:
```

This line does all the work in this little program: it prints text to the
screen. There are four important details to notice here. First, Rust style is
to indent with four spaces, not a tab.
screen. There are four important details to notice here.

First, Rust style is to indent with four spaces, not a tab.

Second, `println!` calls a Rust macro. If it called a function instead, it
would be entered as `println` (without the `!`). We’ll discuss Rust macros in
Expand Down

0 comments on commit bcf17fb

Please sign in to comment.