about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-02-18 13:20:59 +0100
committerGitHub <noreply@github.com>2018-02-18 13:20:59 +0100
commitb7791b0c7eb4eef607ca222404e1d0d69c352a21 (patch)
tree5e9caad4bb70b71bdd9ebed288a8a8f8a2218151 /src/tools
parent715030fd0171b3158c799aa201b1aca2c0f7ee01 (diff)
parent6661ebb4bd73bfe2ef93f9edcf9c89243ab32e46 (diff)
downloadrust-b7791b0c7eb4eef607ca222404e1d0d69c352a21.tar.gz
rust-b7791b0c7eb4eef607ca222404e1d0d69c352a21.zip
Rollup merge of #48274 - GuillaumeGomez:remove-hoedown, r=QuietMisdreavus
Remove hoedown from rustdoc

Finally the time has come!

r? @QuietMisdreavus
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/error_index_generator/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/error_index_generator/main.rs b/src/tools/error_index_generator/main.rs
index 8454e71fa3f..76f5f98358c 100644
--- a/src/tools/error_index_generator/main.rs
+++ b/src/tools/error_index_generator/main.rs
@@ -24,7 +24,7 @@ use std::path::PathBuf;
 
 use syntax::diagnostics::metadata::{get_metadata_dir, ErrorMetadataMap, ErrorMetadata};
 
-use rustdoc::html::markdown::{Markdown, PLAYGROUND, RenderType};
+use rustdoc::html::markdown::{Markdown, PLAYGROUND};
 use rustc_serialize::json;
 
 enum OutputFormat {
@@ -100,7 +100,7 @@ impl Formatter for HTMLFormatter {
 
         // Description rendered as markdown.
         match info.description {
-            Some(ref desc) => write!(output, "{}", Markdown(desc, &[], RenderType::Hoedown))?,
+            Some(ref desc) => write!(output, "{}", Markdown(desc, &[]))?,
             None => write!(output, "<p>No description.</p>\n")?,
         }