about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-04-20 18:53:15 -0400
committerSmitty <me@smitop.com>2021-04-20 18:53:15 -0400
commit7cf4f4276f691b3052df64930a9f02e33e2783df (patch)
tree1b28b818407db569095f8d38cfcdd5a29d6ffa78 /src
parent0c193f82e7525cba88d67320fc3d706683a9cb9b (diff)
downloadrust-7cf4f4276f691b3052df64930a9f02e33e2783df.tar.gz
rust-7cf4f4276f691b3052df64930a9f02e33e2783df.zip
Rename pushname to is_module
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/render/context.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/render/context.rs b/src/librustdoc/html/render/context.rs
index 3fcf972a5b8..397e03afae6 100644
--- a/src/librustdoc/html/render/context.rs
+++ b/src/librustdoc/html/render/context.rs
@@ -167,13 +167,13 @@ impl<'tcx> Context<'tcx> {
         "../".repeat(self.current.len())
     }
 
-    fn render_item(&self, it: &clean::Item, pushname: bool) -> String {
+    fn render_item(&self, it: &clean::Item, is_module: bool) -> String {
         let mut title = String::new();
-        if pushname {
+        if is_module {
             title.push_str(&it.name.unwrap().as_str());
         }
         if !it.is_primitive() && !it.is_keyword() {
-            if pushname {
+            if is_module {
                 title.push_str(" in ");
             }
             // No need to include the namespace for primitive types and keywords