From: Aaron Hill Date: Thu, 15 Feb 2018 22:21:26 +0000 (-0500) Subject: More formatting fixups X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=94fd4f360bacce672a6ec576331a7600edcd6d51;p=rust.git More formatting fixups --- diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 2e06267a325..dea5c60740b 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -3850,7 +3850,7 @@ fn sidebar_trait(fmt: &mut fmt::Formatter, it: &clean::Item, sidebar.push_str("Implementors"); if t.auto { sidebar.push_str("Auto Implementors"); + href=\"#synthetic-implementors\">Auto Implementors"); } sidebar.push_str(&sidebar_assoc_items(it)); diff --git a/src/librustdoc/visit_ast.rs b/src/librustdoc/visit_ast.rs index 9dc532953c8..f692e05d6a2 100644 --- a/src/librustdoc/visit_ast.rs +++ b/src/librustdoc/visit_ast.rs @@ -50,7 +50,7 @@ pub struct RustdocVisitor<'a, 'tcx: 'a, 'rcx: 'a> { /// Is the current module and all of its parents public? inside_public_path: bool, reexported_macros: FxHashSet, - exact_paths: Option>> + exact_paths: Option>>, } impl<'a, 'tcx, 'rcx> RustdocVisitor<'a, 'tcx, 'rcx> {