Skip to content

Commit 091fa8c

Browse files
committed
Crate/target clarification.
1 parent 6de96b4 commit 091fa8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/src/appendix/glossary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ compilation process. This includes linkable libraries and executable binaries.
77

88
### Crate
99

10-
A *crate* is one of the targets in a package. Crates are either libraries or
10+
Every target in a package is a *crate*. Crates are either libraries or
1111
executable binaries. It may loosely refer to either the source code of the
1212
target, or the compiled artifact that the target produces. A crate may also
1313
refer to a compressed package fetched from a registry.
@@ -103,7 +103,7 @@ See [package id specification](#package).
103103

104104
The meaning of the term *target* depends on the context:
105105

106-
- **Target Crate** — Cargo packages consist of *targets* which correspond to
106+
- **Cargo Target** — Cargo packages consist of *targets* which correspond to
107107
artifacts that will be produced. Packages can have library, binary, example,
108108
test, and benchmark targets. The [list of targets][targets] are configured
109109
in the `Cargo.toml` manifest, often inferred automatically by the [directory

0 commit comments

Comments
 (0)