Skip to content

Commit

Permalink
Auto merge of rust-lang#5714 - jeremyBanks:docs-project-to-package, r…
Browse files Browse the repository at this point in the history
…=alexcrichton

Replace remaining uses of `[project]` in documentation with `[package]`

The `[project]` section is not currently referenced anywhere else in the documentation, so the use here confused me, and I spent a while trying to add it to a `Cargo.toml` that already had a `[package]`.

`[project]` seems to be a deprecated alias for `[package]`, which is documented, so let's swap it out.
  • Loading branch information
bors committed Jul 11, 2018
2 parents 5486fa7 + fd1fd6c commit 15e6361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ appropriate `cargo-features`:
```toml
cargo-features = ["publish-lockfile"]

[project]
[package]
...
publish-lockfile = true
```
Expand Down Expand Up @@ -263,7 +263,7 @@ for features and dependencies are separated. The effect of this is that, in the
feature requirements, dependencies have to be prefixed with `crate:`. Like this:

```toml
[project]
[package]
namespaced-features = true

[features]
Expand Down

0 comments on commit 15e6361

Please sign in to comment.