Skip to content

Commit

Permalink
Update to new commonmark arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Jan 22, 2018
1 parent dc54752 commit fe93ada
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustdoc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,10 +503,10 @@ where R: 'static + Send, F: 'static + Send + FnOnce(Output) -> R {
let crate_name = matches.opt_str("crate-name");
let crate_version = matches.opt_str("crate-version");
let plugin_path = matches.opt_str("plugin-path");
let render_type = if matches.opt_present("enable-commonmark") {
RenderType::Pulldown
} else {
let render_type = if matches.opt_present("disable-commonmark") {
RenderType::Hoedown
} else {
RenderType::Pulldown
};

info!("starting to run rustc");
Expand Down

0 comments on commit fe93ada

Please sign in to comment.