diff options
| author | Maximilian Kรถhl <mail@koehlma.de> | 2022-03-21 11:25:05 +0100 |
|---|---|---|
| committer | Maximilian Kรถhl <mail@koehlma.de> | 2022-03-21 11:25:05 +0100 |
| commit | 4df867c4a3d6d5e05b0193bf43e888673d5b64a9 (patch) | |
| tree | 2324ea4b63de979bfc0b97e57a488421fe4d88bb | |
| parent | 03ddfa3087fbce431309a7453769db35e7104839 (diff) | |
| download | rust-4df867c4a3d6d5e05b0193bf43e888673d5b64a9.tar.gz rust-4df867c4a3d6d5e05b0193bf43e888673d5b64a9.zip | |
fix: add a space only in front of ๐
| -rw-r--r-- | src/librustdoc/html/render/print_item.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/print_item.rs b/src/librustdoc/html/render/print_item.rs index 088500c7179..efeb2e0d463 100644 --- a/src/librustdoc/html/render/print_item.rs +++ b/src/librustdoc/html/render/print_item.rs @@ -378,7 +378,7 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl let visibility_emoji = match myitem.visibility { clean::Visibility::Restricted(_) => { - "<span title=\"Restricted Visibility\">๐</span> " + "<span title=\"Restricted Visibility\"> ๐</span> " } _ => "", }; @@ -389,7 +389,7 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl w, "<div class=\"item-left {stab}{add}module-item\">\ <a class=\"{class}\" href=\"{href}\" title=\"{title}\">{name}</a>\ - {visibility_emoji} \ + {visibility_emoji}\ {unsafety_flag}\ {stab_tags}\ </div>\ |
