Skip to content

Commit 72b069e

Browse files
committed
Simplify docs to use existing link reference definition in manifest.md
1 parent b61e64b commit 72b069e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/doc/src/reference/manifest.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,18 @@ For example, `1.0.0-alpha.11` is higher than `1.0.0-alpha.4`.
105105
A metadata part can be added after a plus, such as `1.0.0+21AF26D3`.
106106
This is for informational purposes only and is generally ignored by Cargo.
107107

108-
Cargo bakes in the concept of [Semantic Versioning](https://semver.org/),
109-
so versions are considered considered [compatible](semver.md) if their left-most non-zero major/minor/patch component is the same.
110-
See the [Resolver] chapter for more information on how Cargo uses versions to
111-
resolve dependencies.
108+
Cargo bakes in the concept of [SemVer], so versions are considered [compatible]
109+
if their left-most non-zero major/minor/patch component is the same. See the
110+
[Resolver] chapter for more information on how Cargo uses versions to resolve
111+
dependencies.
112112

113113
This field is optional and defaults to `0.0.0`. The field is required for publishing packages.
114114

115115
> **MSRV:** Before 1.75, this field was required
116116
117117
[SemVer]: https://semver.org
118118
[Resolver]: resolver.md
119-
[SemVer compatibility]: semver.md
119+
[compatible]: semver.md
120120

121121
### The `authors` field
122122

@@ -612,8 +612,6 @@ The `[profile]` tables provide a way to customize compiler settings such as
612612
optimizations and debug settings. See [the Profiles chapter](profiles.md) for
613613
more detail.
614614

615-
616-
617615
[`cargo init`]: ../commands/cargo-init.md
618616
[`cargo new`]: ../commands/cargo-new.md
619617
[`cargo package`]: ../commands/cargo-package.md

0 commit comments

Comments
 (0)