Skip to content

Commit

Permalink
auto merge of rust-lang#1000 : jbranchaud/cargo/add-semicolon-to-hell…
Browse files Browse the repository at this point in the history
…o-world-in-docs, r=alexcrichton

Both the `index.md` and `guide.md` files show the hello world program source
(generated by `cargo new`) without a semicolon (`;`) at the end of the
`println!` line. The file generated by `cargo new` does and should have a
semicolon. This commit brings the docs in sync with the generated code.
  • Loading branch information
bors committed Dec 2, 2014
2 parents da789a6 + acd2560 commit 5a80c02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Here's what's in `src/main.rs`:

```
fn main() {
println!("Hello, world!")
println!("Hello, world!");
}
```

Expand Down
2 changes: 1 addition & 1 deletion src/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Here's what's in `src/main.rs`:

```
fn main() {
println!("Hello, world!")
println!("Hello, world!");
}
```

Expand Down

0 comments on commit 5a80c02

Please sign in to comment.