about summary refs log tree commit diff
path: root/src/librustdoc/html/render.rs
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-23 17:02:57 +0900
committerHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-23 17:02:57 +0900
commit1fe87df104aac58f45075e2b60ac9a085d3571f8 (patch)
tree91ecce438403ae1f02ad2ffcb085860e78e6d151 /src/librustdoc/html/render.rs
parent1932d7a52d8cdfdadbf165f2340de45e9e9ef9e2 (diff)
downloadrust-1fe87df104aac58f45075e2b60ac9a085d3571f8.tar.gz
rust-1fe87df104aac58f45075e2b60ac9a085d3571f8.zip
Fix tidy check errors
Diffstat (limited to 'src/librustdoc/html/render.rs')
-rw-r--r--src/librustdoc/html/render.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index 6bbc0bc49d3..5109e775ebf 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -2541,8 +2541,13 @@ fn render_markdown(w: &mut fmt::Formatter<'_>,
            cx.codes))
 }
 
-fn document_short(w: &mut fmt::Formatter<'_>, cx: &Context, item: &clean::Item, link: AssocItemLink<'_>,
-                  prefix: &str, is_hidden: bool) -> fmt::Result {
+fn document_short(
+    w: &mut fmt::Formatter<'_>,
+    cx: &Context,
+    item: &clean::Item,
+    link: AssocItemLink<'_>,
+    prefix: &str, is_hidden: bool
+) -> fmt::Result {
     if let Some(s) = item.doc_value() {
         let markdown = if s.contains('\n') {
             format!("{} [Read more]({})",