auto merge of #16215 : cakebaker/rust/remove_bin_section_from_toml, r=alexcrichton

According to the [source code](https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/cargo_new.rs#L31) <code>cargo new</code> doesn't generate a <code>[[bin]]</code> section in the <code>Cargo.toml</code>, hence removing it from the example.
This commit is contained in:
bors 2014-08-03 23:46:10 +00:00
commit 25741603fe

View File

@ -1626,10 +1626,6 @@ Check out the generated `Cargo.toml`:
name = "guessing_game"
version = "0.1.0"
authors = ["Your Name <you@example.com>"]
[[bin]]
name = "guessing_game"
```
Cargo gets this information from your environment. If it's not correct, go ahead