Skip to content

Commit

Permalink
xpy fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Aug 24, 2020
1 parent 73de343 commit 25cfd57
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/librustdoc/passes/collect_intra_doc_links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,13 +741,8 @@ impl<'a, 'tcx> DocFolder for LinkCollector<'a, 'tcx> {

match disambiguator.map(Disambiguator::ns) {
Some(ns @ (ValueNS | TypeNS)) => {
match self.resolve(
path_str,
ns,
&current_item,
base_node,
&extra_fragment,
) {
match self.resolve(path_str, ns, &current_item, base_node, &extra_fragment)
{
Ok(res) => res,
Err(ErrorKind::ResolutionFailure) => {
resolution_failure(cx, &item, path_str, &dox, link_range);
Expand Down

0 comments on commit 25cfd57

Please sign in to comment.