From 81d792f31d02ac461f5ea3f9f65f14cfc95a0e6f Mon Sep 17 00:00:00 2001 From: moxian Date: Fri, 16 Jul 2021 03:45:27 +0000 Subject: Copy item path rather than full `use` statement. --- src/librustdoc/html/render/print_item.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/librustdoc/html/render') diff --git a/src/librustdoc/html/render/print_item.rs b/src/librustdoc/html/render/print_item.rs index f7073a8751f..58375ab09ad 100644 --- a/src/librustdoc/html/render/print_item.rs +++ b/src/librustdoc/html/render/print_item.rs @@ -84,11 +84,10 @@ pub(super) fn print_item(cx: &Context<'_>, item: &clean::Item, buf: &mut Buffer, write!(buf, "{}", item.type_(), item.name.as_ref().unwrap()); write!( buf, - "", static_root_path = page.get_static_root_path(), suffix = page.resource_suffix, -- cgit 1.4.1-3-g733a5