about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2018-02-15 17:21:26 -0500
committerAaron Hill <aa1ronham@gmail.com>2018-02-18 16:29:25 -0500
commit94fd4f360bacce672a6ec576331a7600edcd6d51 (patch)
tree5d816fb32c01742b41b601a7dfa4d8fa9a99ba03 /src
parent0bfbe24fd950be2b28c630e9891bf24214a3d342 (diff)
downloadrust-94fd4f360bacce672a6ec576331a7600edcd6d51.tar.gz
rust-94fd4f360bacce672a6ec576331a7600edcd6d51.zip
More formatting fixups
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/render.rs2
-rw-r--r--src/librustdoc/visit_ast.rs2
2 files changed, 2 insertions, 2 deletions
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("<a class=\"sidebar-title\" href=\"#implementors\">Implementors</a>");
     if t.auto {
         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));
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<DefId>,
-    exact_paths: Option<FxHashMap<DefId, Vec<String>>>
+    exact_paths: Option<FxHashMap<DefId, Vec<String>>>,
 }
 
 impl<'a, 'tcx, 'rcx> RustdocVisitor<'a, 'tcx, 'rcx> {