Skip to content

Commit

Permalink
docs(ref): Remove uses of 'package.authors' that isn't documenting so…
Browse files Browse the repository at this point in the history
…mething
  • Loading branch information
epage committed Jan 15, 2025
1 parent ac22fd3 commit 1a18d72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/doc/src/reference/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ The first section in a `Cargo.toml` is `[package]`.
[package]
name = "hello_world" # the name of the package
version = "0.1.0" # the current version, obeying semver
authors = ["Alice <[email protected]>", "Bob <[email protected]>"]
```

The only field required by Cargo is [`name`](#the-name-field). If publishing to
Expand Down
2 changes: 0 additions & 2 deletions src/doc/src/reference/workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ where the workspace's `Cargo.toml` is located.
[package]
name = "hello_world" # the name of the package
version = "0.1.0" # the current version, obeying semver
authors = ["Alice <[email protected]>", "Bob <[email protected]>"]
```

### Virtual workspace
Expand All @@ -77,7 +76,6 @@ resolver = "2"
name = "hello_world" # the name of the package
version = "0.1.0" # the current version, obeying semver
edition = "2024" # the edition, will have no effect on a resolver used in the workspace
authors = ["Alice <[email protected]>", "Bob <[email protected]>"]
```

By having a workspace without a root package,
Expand Down

0 comments on commit 1a18d72

Please sign in to comment.