File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -636,7 +636,7 @@ impl Renderer {
636636        }  else  { 
637637            ( normalize_whitespace ( title. text ( ) ) ,  title_element_style) 
638638        } ; 
639-         for  ( i,  text)  in  title_str. lines ( ) . enumerate ( )  { 
639+         for  ( i,  text)  in  title_str. split ( '\n' ) . enumerate ( )  { 
640640            if  i != 0  { 
641641                buffer. append ( buffer_msg_line_offset + i,  & padding,  ElementStyle :: NoStyle ) ; 
642642                if  title_style == TitleStyle :: Secondary 
Original file line number Diff line number Diff line change @@ -3440,6 +3440,7 @@ LL |     let _: S::<bool>::Pr = ();
34403440   |                       ^^ associated item not found in `S<bool>` 
34413441   | 
34423442   = note: the associated type was found for 
3443+             
34433444"# ] ] ; 
34443445    let  renderer = Renderer :: plain ( ) . anonymized_line_numbers ( true ) ; 
34453446    assert_data_eq ! ( renderer. render( input) ,  expected) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments