File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4444
4545use  core:: error:: Error ; 
4646use  core:: fmt; 
47- use  core:: fmt:: FormattingOptions ; 
4847use  core:: hash; 
4948#[ cfg( not( no_global_oom_handling) ) ]  
5049use  core:: iter:: from_fn; 
@@ -2606,7 +2605,8 @@ impl<T: fmt::Display + ?Sized> ToString for T {
26062605    #[ inline]  
26072606    default  fn  to_string ( & self )  -> String  { 
26082607        let  mut  buf = String :: new ( ) ; 
2609-         let  mut  formatter = core:: fmt:: Formatter :: new ( & mut  buf,  FormattingOptions :: new ( ) ) ; 
2608+         let  mut  formatter =
2609+             core:: fmt:: Formatter :: new ( & mut  buf,  core:: fmt:: FormattingOptions :: new ( ) ) ; 
26102610        // Bypass format_args!() to avoid write_str with zero-length strs 
26112611        fmt:: Display :: fmt ( self ,  & mut  formatter) 
26122612            . expect ( "a Display implementation returned an error unexpectedly" ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments