about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-03 23:46:10 +0000
committerbors <bors@rust-lang.org>2014-08-03 23:46:10 +0000
commit25741603fe3d5caebda7d41babb7eb0c265dfc70 (patch)
tree48e682df4b22915dbb8c15876401eac6c2e9783c /src
parentd34e011b8e4b7df4433aaf32ea42e36a577a6386 (diff)
parent7ba9c44b94a0b9141045cdc385cd68145c1cdbc6 (diff)
downloadrust-25741603fe3d5caebda7d41babb7eb0c265dfc70.tar.gz
rust-25741603fe3d5caebda7d41babb7eb0c265dfc70.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/doc/guide.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index 871728ef3d7..dc497d49ede 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -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