about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Köhl <mail@koehlma.de>2022-03-21 11:03:02 +0100
committerMaximilian Köhl <mail@koehlma.de>2022-03-21 11:03:02 +0100
commit03ddfa3087fbce431309a7453769db35e7104839 (patch)
tree9c3ac851ab7efda4bd07fc5bf6a8fc7fef841f66
parent1fec0fbb2c42f9cf41b04d9323139e9c82e9b963 (diff)
downloadrust-03ddfa3087fbce431309a7453769db35e7104839.tar.gz
rust-03ddfa3087fbce431309a7453769db35e7104839.zip
move the 🔒 after the name
-rw-r--r--src/librustdoc/html/render/print_item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/print_item.rs b/src/librustdoc/html/render/print_item.rs
index 8aa052dca01..088500c7179 100644
--- a/src/librustdoc/html/render/print_item.rs
+++ b/src/librustdoc/html/render/print_item.rs
@@ -388,8 +388,8 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
                 write!(
                     w,
                     "<div class=\"item-left {stab}{add}module-item\">\
-                            {visibility_emoji}\
                             <a class=\"{class}\" href=\"{href}\" title=\"{title}\">{name}</a>\
+                            &nbsp;{visibility_emoji}&nbsp;\
                             {unsafety_flag}\
                             {stab_tags}\
                      </div>\