mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
fix: add a space only in front of 🔒
This commit is contained in:
parent
03ddfa3087
commit
4df867c4a3
@ -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>\
|
||||
|
Loading…
Reference in New Issue
Block a user