File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 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> {
242242 or `#![doc(html_playground_url=...)]`",
243243 "URL" )
244244 } ) ,
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" )
247247 } ) ,
248248 unstable( "display-warnings" , |o| {
249249 o. optflag( "" , "display-warnings" , "to print code warnings when testing doc" )
@@ -347,10 +347,10 @@ pub fn main_args(args: &[String]) -> isize {
347347 let css_file_extension = matches. opt_str ( "e" ) . map ( |s| PathBuf :: from ( & s) ) ;
348348 let cfgs = matches. opt_strs ( "cfg" ) ;
349349
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" ) {
353351 RenderType :: Hoedown
352+ } else {
353+ RenderType :: Pulldown
354354 } ;
355355
356356 if let Some ( ref p) = css_file_extension {
You can’t perform that action at this time.
0 commit comments