summary refs log tree commit diff
path: root/src/doc/rustdoc
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2022-07-25 09:16:28 -0700
committerEric Huss <eric@huss.org>2022-07-25 09:16:28 -0700
commit91599b44dc7cb5209b2339aa21dcd73fcc5d2597 (patch)
tree44b357958a832245e6f5588e0a75addae9978571 /src/doc/rustdoc
parent7fe022f5aa32bbbb33c3a58755729d6667a461a9 (diff)
downloadrust-91599b44dc7cb5209b2339aa21dcd73fcc5d2597.tar.gz
rust-91599b44dc7cb5209b2339aa21dcd73fcc5d2597.zip
Fix some broken link fragments.
Diffstat (limited to 'src/doc/rustdoc')
-rw-r--r--src/doc/rustdoc/src/deprecated-features.md2
-rw-r--r--src/doc/rustdoc/src/unstable-features.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustdoc/src/deprecated-features.md b/src/doc/rustdoc/src/deprecated-features.md
index 2bc6e8fc8ae..9438948af54 100644
--- a/src/doc/rustdoc/src/deprecated-features.md
+++ b/src/doc/rustdoc/src/deprecated-features.md
@@ -10,4 +10,4 @@ change in any release.
 
 In the past the most common use case for customizing passes was to omit the `strip-private` pass.
 You can do this more easily, and without risk of the pass being changed, by passing
-[`--document-private-items`](./unstable-features.md#--document-private-items).
+[`--document-private-items`](command-line-arguments.md#--document-private-items-show-items-that-are-not-public).
diff --git a/src/doc/rustdoc/src/unstable-features.md b/src/doc/rustdoc/src/unstable-features.md
index 30b3d6defb4..32b35007490 100644
--- a/src/doc/rustdoc/src/unstable-features.md
+++ b/src/doc/rustdoc/src/unstable-features.md
@@ -466,7 +466,7 @@ Note that the third item is the crate root, which in this case is undocumented.
 and is also accepted on stable toolchains.
 
 It can also be used with `--show-coverage`. Take a look at its
-[documentation](#--show-coverage-get-statistics-about-code-documentation-coverage) for more
+[documentation](#--show-coverage-calculate-the-percentage-of-items-with-documentation) for more
 information.
 
 ### `--enable-per-target-ignores`: allow `ignore-foo` style filters for doctests