diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-09 05:42:28 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-09 05:42:28 +0530 |
| commit | 65eb6c072bfe3d0f5264d99860968f07a1426809 (patch) | |
| tree | 7441ab6d2b032994477019a1c6df09f8b5ab1c2d | |
| parent | 4b5ac524f3e9430708531a18f7bfbca54c6deb28 (diff) | |
| parent | a6dd8718214fc4fb31bcb8fd8779ce435551200d (diff) | |
| download | rust-65eb6c072bfe3d0f5264d99860968f07a1426809.tar.gz rust-65eb6c072bfe3d0f5264d99860968f07a1426809.zip | |
Rollup merge of #26104 - saml:patch-1, r=steveklabnik
Cargo expects `lib` to be table, not an array of tables (only single lib per project).
| -rw-r--r-- | src/doc/trpl/hello-cargo.md | 2 |
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 |
