Skip to content

Commit 9b9d4f0

Browse files
committed
fix formatting
1 parent 2642526 commit 9b9d4f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/passes/collect_intra_doc_links.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -933,9 +933,9 @@ fn preprocess_link(
933933
// certain link kinds cannot have their path be urls,
934934
// so they should not be ignored, no matter how much they look like urls.
935935
// e.g. [https://example.com/] is not a link to example.com.
936-
let can_be_url = ori_link.kind != LinkType::ShortcutUnknown &&
937-
ori_link.kind != LinkType::CollapsedUnknown &&
938-
ori_link.kind != LinkType::ReferenceUnknown;
936+
let can_be_url = ori_link.kind != LinkType::ShortcutUnknown
937+
&& ori_link.kind != LinkType::CollapsedUnknown
938+
&& ori_link.kind != LinkType::ReferenceUnknown;
939939

940940
// [] is mostly likely not supposed to be a link
941941
if ori_link.link.is_empty() {

0 commit comments

Comments
 (0)