Skip to content

Commit 8e39927

Browse files
committed
Migrate item_static to Askama
1 parent c373194 commit 8e39927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/render/print_item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ fn item_struct(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean
15411541
write!(w, "{}", document_type_layout(cx, def_id));
15421542
}
15431543

1544-
fn item_static(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean::Static) {
1544+
fn item_static(w: &mut impl Write, cx: &mut Context<'_>, it: &clean::Item, s: &clean::Static) {
15451545
wrap_item(w, |w| {
15461546
render_attributes_in_code(w, it, cx.tcx());
15471547
write!(

0 commit comments

Comments
 (0)