Skip to content

Commit fe93ada

Browse files
committed
Update to new commonmark arg
1 parent dc54752 commit fe93ada

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,10 @@ where R: 'static + Send, F: 'static + Send + FnOnce(Output) -> R {
503503
let crate_name = matches.opt_str("crate-name");
504504
let crate_version = matches.opt_str("crate-version");
505505
let plugin_path = matches.opt_str("plugin-path");
506-
let render_type = if matches.opt_present("enable-commonmark") {
507-
RenderType::Pulldown
508-
} else {
506+
let render_type = if matches.opt_present("disable-commonmark") {
509507
RenderType::Hoedown
508+
} else {
509+
RenderType::Pulldown
510510
};
511511

512512
info!("starting to run rustc");

0 commit comments

Comments
 (0)