File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,8 @@ pub fn opts() -> Vec<RustcOptGroup> {
242
242
or `#![doc(html_playground_url=...)]`",
243
243
"URL" )
244
244
} ) ,
245
- unstable( "enable -commonmark" , |o| {
246
- o. optflag( "" , "enable -commonmark" , "to enable commonmark doc rendering/testing" )
245
+ unstable( "disable -commonmark" , |o| {
246
+ o. optflag( "" , "disable -commonmark" , "to disable commonmark doc rendering/testing" )
247
247
} ) ,
248
248
unstable( "display-warnings" , |o| {
249
249
o. optflag( "" , "display-warnings" , "to print code warnings when testing doc" )
@@ -347,10 +347,10 @@ pub fn main_args(args: &[String]) -> isize {
347
347
let css_file_extension = matches. opt_str ( "e" ) . map ( |s| PathBuf :: from ( & s) ) ;
348
348
let cfgs = matches. opt_strs ( "cfg" ) ;
349
349
350
- let render_type = if matches. opt_present ( "enable-commonmark" ) {
351
- RenderType :: Pulldown
352
- } else {
350
+ let render_type = if matches. opt_present ( "disable-commonmark" ) {
353
351
RenderType :: Hoedown
352
+ } else {
353
+ RenderType :: Pulldown
354
354
} ;
355
355
356
356
if let Some ( ref p) = css_file_extension {
You can’t perform that action at this time.
0 commit comments