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