summary refs log tree commit diff
path: root/src/librustdoc/html/render/context.rs
diff options
context:
space:
mode:
authorNicholas-Baron <nicholas.baron.ten@gmail.com>2021-02-13 22:23:05 -0800
committerNicholas-Baron <nicholas.baron.ten@gmail.com>2021-03-04 10:01:22 -0800
commit6c7d7a6bf4b8a3a653d8cba0acf5b20b088aff2e (patch)
tree2ab63bb47be151211b6a95d1a475e1c0552b2fbe /src/librustdoc/html/render/context.rs
parent48167c499aa8ad8d7b641f79e6ab9cc163ebc7dd (diff)
downloadrust-6c7d7a6bf4b8a3a653d8cba0acf5b20b088aff2e.tar.gz
rust-6c7d7a6bf4b8a3a653d8cba0acf5b20b088aff2e.zip
Moved `print_item` and helpers to a separate file
Diffstat (limited to 'src/librustdoc/html/render/context.rs')
-rw-r--r--src/librustdoc/html/render/context.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/context.rs b/src/librustdoc/html/render/context.rs
index 1198df04abb..4322e244834 100644
--- a/src/librustdoc/html/render/context.rs
+++ b/src/librustdoc/html/render/context.rs
@@ -15,9 +15,10 @@ use rustc_span::source_map::FileName;
 use rustc_span::symbol::sym;
 
 use super::cache::{build_index, ExternalLocation};
+use super::print_item::{full_path, item_path, print_item};
 use super::{
-    full_path, item_path, make_item_keywords, print_item, print_sidebar, settings, write_shared,
-    AllTypes, NameDoc, SharedContext, StylePath, BASIC_KEYWORDS, CURRENT_DEPTH, INITIAL_IDS,
+    make_item_keywords, print_sidebar, settings, write_shared, AllTypes, NameDoc, SharedContext,
+    StylePath, BASIC_KEYWORDS, CURRENT_DEPTH, INITIAL_IDS,
 };
 
 use crate::clean::{self, AttributesExt};