Skip to content

Commit 1fec0fb

Browse files
committed
apply rustfmt
1 parent 43e4bbd commit 1fec0fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/librustdoc/html/render/print_item.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,10 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
377377
let add = if stab.is_some() { " " } else { "" };
378378

379379
let visibility_emoji = match myitem.visibility {
380-
clean::Visibility::Restricted(_) => "<span title=\"Restricted Visibility\">🔒</span> ",
381-
_ => ""
380+
clean::Visibility::Restricted(_) => {
381+
"<span title=\"Restricted Visibility\">🔒</span> "
382+
}
383+
_ => "",
382384
};
383385

384386
let doc_value = myitem.doc_value().unwrap_or_default();

0 commit comments

Comments
 (0)