Skip to content

Commit ba76594

Browse files
committed
rustdoc: pull dbg! statement out of conditional
Fixes a nitpick in review.
1 parent 902e39d commit ba76594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,6 @@ pub(crate) fn href_with_root_path(
741741
// If this item exists in the current crate, then link to that.
742742
(fqp, shortty, {
743743
let module_fqp = to_module_fqp(shortty, fqp.as_slice());
744-
debug!(?fqp, ?shortty, ?module_fqp);
745744
href_relative_parts(module_fqp, relative_to).collect()
746745
})
747746
} else {
@@ -760,6 +759,7 @@ pub(crate) fn href_with_root_path(
760759
return generate_item_def_id_path(did, original_did, cx, root_path, def_kind);
761760
}
762761
};
762+
debug!(?fqp, ?shortty, ?url_parts);
763763
make_href(root_path, shortty, url_parts, fqp, is_remote)
764764
}
765765

0 commit comments

Comments
 (0)