@@ -357,7 +357,7 @@ impl<'a, 'o, 'c> CommonMarkFormatter<'a, 'o, 'c> {
357357 NodeValue :: DescriptionItem ( ..) => ( ) ,
358358 NodeValue :: DescriptionTerm => ( ) ,
359359 NodeValue :: DescriptionDetails => self . format_description_details ( entering) ,
360- NodeValue :: Heading ( ref nch ) => self . format_heading ( nch , entering) ,
360+ NodeValue :: Heading ( ref nh ) => self . format_heading ( nh , entering) ,
361361 NodeValue :: CodeBlock ( ref ncb) => self . format_code_block ( node, ncb, entering) ,
362362 NodeValue :: HtmlBlock ( ref nhb) => self . format_html_block ( nhb, entering) ,
363363 NodeValue :: ThematicBreak => self . format_thematic_break ( entering) ,
@@ -538,9 +538,9 @@ impl<'a, 'o, 'c> CommonMarkFormatter<'a, 'o, 'c> {
538538 }
539539 }
540540
541- fn format_heading ( & mut self , nch : & NodeHeading , entering : bool ) {
541+ fn format_heading ( & mut self , nh : & NodeHeading , entering : bool ) {
542542 if entering {
543- for _ in 0 ..nch . level {
543+ for _ in 0 ..nh . level {
544544 write ! ( self , "#" ) . unwrap ( ) ;
545545 }
546546 write ! ( self , " " ) . unwrap ( ) ;
0 commit comments