Skip to content

Commit c556e9c

Browse files
author
Brian Campbell
committed
[rustdoc] Add missing close tags in extern crate reexports
1 parent f51d1bc commit c556e9c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/librustdoc/html/render/print_item.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ fn item_module(cx: &Context<'_>, item: &clean::Item, items: &[clean::Item]) -> i
439439
)?;
440440
}
441441
}
442+
write!(w, "</code></dt>")?
442443
}
443444
clean::ImportItem(ref import) => {
444445
let stab_tags =
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
//@ aux-build:pub-extern-crate.rs
2+
3+
//@ has pub_extern_crate_150176/index.html
4+
//@ hasraw - 'pub extern crate inner;</code></dt>'
5+
pub extern crate inner;

0 commit comments

Comments
 (0)