We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c193f8 commit 7cf4f42Copy full SHA for 7cf4f42
src/librustdoc/html/render/context.rs
@@ -167,13 +167,13 @@ impl<'tcx> Context<'tcx> {
167
"../".repeat(self.current.len())
168
}
169
170
- fn render_item(&self, it: &clean::Item, pushname: bool) -> String {
+ fn render_item(&self, it: &clean::Item, is_module: bool) -> String {
171
let mut title = String::new();
172
- if pushname {
+ if is_module {
173
title.push_str(&it.name.unwrap().as_str());
174
175
if !it.is_primitive() && !it.is_keyword() {
176
177
title.push_str(" in ");
178
179
// No need to include the namespace for primitive types and keywords
0 commit comments