fasterthanlime , Englisch
@fasterthanlime@hachyderm.io avatar

Since when did rustfmt start formatting "calls on tuples" like this:

{  
 (  
 StatusCode::OK,  
 format!("serve transcoded for {hapa} / {bp}"),  
 )  
 .into_http()  
}  

And how do I convince it to simply do

{  
 (  
 StatusCode::OK,  
 format!("serve transcoded for {hapa} / {bp}"),  
 ).into_http()  
}  

Instead?

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine