about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsaml <saml@users.noreply.github.com>2015-06-08 15:42:33 -0400
committersaml <saml@users.noreply.github.com>2015-06-08 15:42:33 -0400
commita6dd8718214fc4fb31bcb8fd8779ce435551200d (patch)
tree61e95b543aa6360ff9da1a1af6efed2a4d57ccf6
parent4e14ef0516b09bd33020a962aa47cf714def5aff (diff)
downloadrust-a6dd8718214fc4fb31bcb8fd8779ce435551200d.tar.gz
rust-a6dd8718214fc4fb31bcb8fd8779ce435551200d.zip
Fixing typo, [[lib]] to [lib]
Cargo expects `lib` to be table, not an array of tables (only single lib per project).
-rw-r--r--src/doc/trpl/hello-cargo.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/hello-cargo.md b/src/doc/trpl/hello-cargo.md
index 0e5bbea453c..9920e8e0068 100644
--- a/src/doc/trpl/hello-cargo.md
+++ b/src/doc/trpl/hello-cargo.md
@@ -36,7 +36,7 @@ Note that since we're creating an executable, we used `main.rs`. If we
 want to make a library instead, we should use `lib.rs`. This convention is required
 for Cargo to successfully compile our projects, but it can be overridden if we wish. 
 Custom file locations for the entry point can be specified
-with a [`[[lib]]` or `[[bin]]`][crates-custom] key in the TOML file described below.
+with a [`[lib]` or `[[bin]]`][crates-custom] key in the TOML file.
 
 [crates-custom]: http://doc.crates.io/manifest.html#configuring-a-target