Rollup merge of #114539 - Enselic:unneeded-fixme, r=ehuss
linkchecker: Remove unneeded FIXME about intra-doc links It was added by https://github.com/rust-lang/rust/pull/77971 but the adder [proposed](https://github.com/rust-lang/rust/pull/77971#issuecomment-710026798) that the added code is a good fallback to have in case rustdoc gets buggy, and I agree. So remove the FIXME. This PR is part of #44366 which is E-help-wanted. r? `@jyn514` since you added the FIXME `@rustbot` label T-dev-tools
This commit is contained in:
commit
f542163351
@ -368,7 +368,6 @@ impl Checker {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Search for intra-doc links that rustdoc didn't warn about
|
// Search for intra-doc links that rustdoc didn't warn about
|
||||||
// FIXME(#77199, 77200) Rustdoc should just warn about these directly.
|
|
||||||
// NOTE: only looks at one line at a time; in practice this should find most links
|
// NOTE: only looks at one line at a time; in practice this should find most links
|
||||||
for (i, line) in source.lines().enumerate() {
|
for (i, line) in source.lines().enumerate() {
|
||||||
for broken_link in BROKEN_INTRA_DOC_LINK.captures_iter(line) {
|
for broken_link in BROKEN_INTRA_DOC_LINK.captures_iter(line) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user