Auto merge of #6393 - dwijnand:add-an-array-of-tables-example-to-manifest-docs, r=alexcrichton

Add an array of tables example to the manifest docs

Fixes #2992
This commit is contained in:
bors 2018-12-07 13:51:31 +00:00
commit cae455ec41

View File

@ -741,6 +741,12 @@ harness = true
# 2018 edition or only compiling one unit test with the 2015 edition. By default
# all targets are compiled with the edition specified in `[package]`.
edition = '2015'
# Here's an example of a TOML "array of tables" section, in this case specifying
# a binary target name and path.
[[bin]]
name = "my-cool-binary"
path = "src/my-cool-binary.rs"
```
The `[package]` also includes the optional `autobins`, `autoexamples`,