about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-12-02 11:25:27 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-12-02 11:25:27 +0100
commit2d0f0ca25b473c16bfa8f071d2d8462a36f43ce0 (patch)
tree6bf3089e0ffde0138e38015b3b6676d98e0dca40
parent852079fbf23e478b065895c0db49db10f9e47929 (diff)
downloadrust-2d0f0ca25b473c16bfa8f071d2d8462a36f43ce0.tar.gz
rust-2d0f0ca25b473c16bfa8f071d2d8462a36f43ce0.zip
Add missing backline
-rw-r--r--src/librustdoc/html/render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index 49471a8e938..0f267035989 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -869,7 +869,7 @@ themePicker.onblur = handleThemeButtonsBlur;
         v.push_str(&all_indexes.join("\n"));
         // "addSearchOptions" has to be called first so the crate filtering can be set before the
         // search might start (if it's set into the URL for example).
-        v.push_str("addSearchOptions(searchIndex);initSearch(searchIndex);");
+        v.push_str("\naddSearchOptions(searchIndex);initSearch(searchIndex);");
         cx.shared.fs.write(&dst, &v)?;
     }
     if options.enable_index_page {