Skip to content

Commit 2574160

Browse files
committed
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.
2 parents d34e011 + 7ba9c44 commit 2574160

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/doc/guide.md

-4
Original file line numberDiff line numberDiff line change
@@ -1626,10 +1626,6 @@ Check out the generated `Cargo.toml`:
16261626
name = "guessing_game"
16271627
version = "0.1.0"
16281628
authors = ["Your Name <[email protected]>"]
1629-
1630-
[[bin]]
1631-
1632-
name = "guessing_game"
16331629
```
16341630

16351631
Cargo gets this information from your environment. If it's not correct, go ahead

0 commit comments

Comments
 (0)