Fix some broken link fragments.

This commit is contained in:
Eric Huss 2022-07-25 09:16:28 -07:00
parent 7fe022f5aa
commit 91599b44dc
3 changed files with 2 additions and 7 deletions

View file

@ -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).

View file

@ -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

View file

@ -348,11 +348,6 @@ impl Checker {
return;
}
// These appear to be broken in mdbook right now?
if fragment.starts_with('-') {
return;
}
parse_ids(&mut target_ids.borrow_mut(), &pretty_path, target_source, report);
if target_ids.borrow().contains(*fragment) {