We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc54752 commit fe93adaCopy full SHA for fe93ada
src/librustdoc/lib.rs
@@ -503,10 +503,10 @@ where R: 'static + Send, F: 'static + Send + FnOnce(Output) -> R {
503
let crate_name = matches.opt_str("crate-name");
504
let crate_version = matches.opt_str("crate-version");
505
let plugin_path = matches.opt_str("plugin-path");
506
- let render_type = if matches.opt_present("enable-commonmark") {
507
- RenderType::Pulldown
508
- } else {
+ let render_type = if matches.opt_present("disable-commonmark") {
509
RenderType::Hoedown
+ } else {
+ RenderType::Pulldown
510
};
511
512
info!("starting to run rustc");
0 commit comments