Skip to content

Commit 1c55445

Browse files
committed
fix braketing error
1 parent ad59944 commit 1c55445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/passes/collect_intra_doc_links.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ fn preprocess_link(
968968
Ok(None) => (None, link, link),
969969
Err((err_msg, relative_range)) => {
970970
// Only report error if we would not have ignored this link. See issue #83859.
971-
if can_be_url && !should_ignore_link_with_disambiguators(link) {
971+
if !(can_be_url && should_ignore_link_with_disambiguators(link)) {
972972
let disambiguator_range = match range_between_backticks(&ori_link.range, dox) {
973973
MarkdownLinkRange::Destination(no_backticks_range) => {
974974
MarkdownLinkRange::Destination(

0 commit comments

Comments
 (0)