Skip to content

Commit 6c7d7a6

Browse files
Moved print_item and helpers to a separate file
1 parent 48167c4 commit 6c7d7a6

File tree

3 files changed

+1430
-1404
lines changed

3 files changed

+1430
-1404
lines changed

src/librustdoc/html/render/context.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ use rustc_span::source_map::FileName;
1515
use rustc_span::symbol::sym;
1616

1717
use super::cache::{build_index, ExternalLocation};
18+
use super::print_item::{full_path, item_path, print_item};
1819
use super::{
19-
full_path, item_path, make_item_keywords, print_item, print_sidebar, settings, write_shared,
20-
AllTypes, NameDoc, SharedContext, StylePath, BASIC_KEYWORDS, CURRENT_DEPTH, INITIAL_IDS,
20+
make_item_keywords, print_sidebar, settings, write_shared, AllTypes, NameDoc, SharedContext,
21+
StylePath, BASIC_KEYWORDS, CURRENT_DEPTH, INITIAL_IDS,
2122
};
2223

2324
use crate::clean::{self, AttributesExt};

0 commit comments

Comments
 (0)