More formatting fixups

This commit is contained in:
Aaron Hill 2018-02-15 17:21:26 -05:00
parent 0bfbe24fd9
commit 94fd4f360b
No known key found for this signature in database
GPG Key ID: B4087E510E98B164
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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> {