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 @@ -241,8 +241,8 @@ pub fn opts() -> Vec<RustcOptGroup> {
241241 or `#![doc(html_playground_url=...)]`",
242242 "URL" )
243243 } ) ,
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" )
246246 } ) ,
247247 unstable( "display-warnings" , |o| {
248248 o. optflag( "" , "display-warnings" , "to print code warnings when testing doc" )
@@ -346,10 +346,10 @@ pub fn main_args(args: &[String]) -> isize {
346346 let css_file_extension = matches. opt_str ( "e" ) . map ( |s| PathBuf :: from ( & s) ) ;
347347 let cfgs = matches. opt_strs ( "cfg" ) ;
348348
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" ) {
352350 RenderType :: Hoedown
351+ } else {
352+ RenderType :: Pulldown
353353 } ;
354354
355355 if let Some ( ref p) = css_file_extension {
You can’t perform that action at this time.
0 commit comments