More formatting fixups
This commit is contained in:
parent
0bfbe24fd9
commit
94fd4f360b
@ -3850,7 +3850,7 @@ fn sidebar_trait(fmt: &mut fmt::Formatter, it: &clean::Item,
|
|||||||
sidebar.push_str("<a class=\"sidebar-title\" href=\"#implementors\">Implementors</a>");
|
sidebar.push_str("<a class=\"sidebar-title\" href=\"#implementors\">Implementors</a>");
|
||||||
if t.auto {
|
if t.auto {
|
||||||
sidebar.push_str("<a class=\"sidebar-title\" \
|
sidebar.push_str("<a class=\"sidebar-title\" \
|
||||||
href=\"#synthetic-implementors\">Auto Implementors</a>");
|
href=\"#synthetic-implementors\">Auto Implementors</a>");
|
||||||
}
|
}
|
||||||
|
|
||||||
sidebar.push_str(&sidebar_assoc_items(it));
|
sidebar.push_str(&sidebar_assoc_items(it));
|
||||||
|
@ -50,7 +50,7 @@ pub struct RustdocVisitor<'a, 'tcx: 'a, 'rcx: 'a> {
|
|||||||
/// Is the current module and all of its parents public?
|
/// Is the current module and all of its parents public?
|
||||||
inside_public_path: bool,
|
inside_public_path: bool,
|
||||||
reexported_macros: FxHashSet<DefId>,
|
reexported_macros: FxHashSet<DefId>,
|
||||||
exact_paths: Option<FxHashMap<DefId, Vec<String>>>
|
exact_paths: Option<FxHashMap<DefId, Vec<String>>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a, 'tcx, 'rcx> RustdocVisitor<'a, 'tcx, 'rcx> {
|
impl<'a, 'tcx, 'rcx> RustdocVisitor<'a, 'tcx, 'rcx> {
|
||||||
|
Loading…
Reference in New Issue
Block a user