]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #76684 - jyn514:refactor-intra-links, r=manishearth
authorbors <bors@rust-lang.org>
Tue, 15 Sep 2020 07:42:13 +0000 (07:42 +0000)
committerbors <bors@rust-lang.org>
Tue, 15 Sep 2020 07:42:13 +0000 (07:42 +0000)
Refactor intra doc link code

I got tired of `fold_item` being 500 lines long.
This is best reviewed one commit at a time with whitespace changes hidden.
There are no logic changes other than the last commit making a parameter checked by the caller instead of the callee.

r? `@Manishearth`


Trivial merge