Skip to content

Commit 06ee229

Browse files
committed
Auto merge of #10404 - ehuss:fix-config-broken-links, r=alexcrichton
Fix some broken doc links. This fixes a few links in the config chapter that weren't linking correctly.
2 parents 5aad9b3 + 5869481 commit 06ee229

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/doc/src/reference/config.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ you have args that you do not want to pass to build scripts or proc macros and
387387
are building for the host, pass `--target` with the host triple.
388388

389389
It is not recommended to pass in flags that Cargo itself usually manages. For
390-
example, the flags driven by [profiles] are best handled by setting the
390+
example, the flags driven by [profiles](profiles.md) are best handled by setting the
391391
appropriate profile setting.
392392

393393
> **Caution**: Due to the low-level nature of passing flags directly to the
@@ -418,7 +418,7 @@ Additional flags may also be passed with the [`cargo rustdoc`] command.
418418
* Environment: `CARGO_BUILD_INCREMENTAL` or `CARGO_INCREMENTAL`
419419

420420
Whether or not to perform [incremental compilation]. The default if not set is
421-
to use the value from the [profile]. Otherwise this overrides the setting of
421+
to use the value from the [profile](profiles.md#incremental). Otherwise this overrides the setting of
422422
all profiles.
423423

424424
The `CARGO_INCREMENTAL` environment variable can be set to `1` to force enable
@@ -449,7 +449,7 @@ The `[doc]` table defines options for the [`cargo doc`] command.
449449

450450
##### `doc.browser`
451451

452-
* Type: string or array of strings ([program path and args])
452+
* Type: string or array of strings ([program path with args])
453453
* Default: `BROWSER` environment variable, or, if that is missing,
454454
opening the link in a system specific way
455455

@@ -950,7 +950,7 @@ Specifies the linker which is passed to `rustc` (via [`-C linker`]) when the
950950
`<triple>` is being compiled for. By default, the linker is not overridden.
951951

952952
##### `target.<triple>.runner`
953-
* Type: string or array of strings ([program path and args])
953+
* Type: string or array of strings ([program path with args])
954954
* Default: none
955955
* Environment: `CARGO_TARGET_<triple>_RUNNER`
956956

@@ -1074,7 +1074,6 @@ Sets the width for progress bar.
10741074
[override a build script]: build-scripts.md#overriding-build-scripts
10751075
[toml]: https://toml.io/
10761076
[incremental compilation]: profiles.md#incremental
1077-
[profile]: profiles.md
10781077
[program path with args]: #executable-paths-with-arguments
10791078
[libcurl format]: https://ec.haxx.se/usingcurl-proxies.html
10801079
[source replacement]: source-replacement.md

0 commit comments

Comments
 (0)