Skip to content

Commit a20414f

Browse files
committed
fix formatting
1 parent cee9e0a commit a20414f

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
@@ -934,9 +934,9 @@ fn preprocess_link(
934934
// certain link kinds cannot have their path be urls,
935935
// so they should not be ignored, no matter how much they look like urls.
936936
// e.g. [https://example.com/] is not a link to example.com.
937-
let can_be_url = ori_link.kind != LinkType::ShortcutUnknown &&
938-
ori_link.kind != LinkType::CollapsedUnknown &&
939-
ori_link.kind != LinkType::ReferenceUnknown;
937+
let can_be_url = ori_link.kind != LinkType::ShortcutUnknown
938+
&& ori_link.kind != LinkType::CollapsedUnknown
939+
&& ori_link.kind != LinkType::ReferenceUnknown;
940940

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

0 commit comments

Comments
 (0)