Skip to content

Commit

Permalink
Fix: "project" should be "package"
Browse files Browse the repository at this point in the history
This was accidentially overlooked when writing the documentation.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
  • Loading branch information
matthiasbeyer authored and Muscraft committed Sep 26, 2022
1 parent abf6b4e commit 281113b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/doc/src/reference/specifying-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ Dependencies in the `[dependencies]`, `[dev-dependencies]`, `[build-dependencies
`[workspace.dependencies]` definition of dependencies.

```toml
[project]
[package]
name = "bar"
version = "0.2.0"

Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ The `filename` parameter is only available in the `[[bin]]` section of the manif
```toml
cargo-features = ["different-binary-name"]

[project]
[package]
name = "foo"
version = "0.0.1"

Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/reference/workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ regex = { version = "1.6.0", default-features = false, features = ["std"] }

```toml
# [PROJECT_DIR]/bar/Cargo.toml
[project]
[package]
name = "bar"
version = "0.2.0"

Expand Down

0 comments on commit 281113b

Please sign in to comment.