jonahgao opened a new pull request, #11267:
URL: https://github.com/apache/datafusion/pull/11267

   ## Which issue does this PR close?
   N/A
   
   
   ## Rationale for this change
   
   The follwoing overlong string literal prevents rustfmt from formatting the 
match arm in that function.
   
https://github.com/apache/datafusion/blob/6e637488188c6620ecd113bf47987bd98f6d7871/datafusion/expr/src/expr_schema.rs#L240
   
   Related to https://github.com/rust-lang/rustfmt/issues/3863
   
   
   ## What changes are included in this PR?
   Use multiple lines to replace the overly long string literal and make `cargo 
fmt` work.
   
   Even though we can use the 
[format_strings](https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#format_strings)
 option to do this automatically,  it is unstable, and most IDEs do not enable 
it by default.
   <!--
   There is no need to duplicate the description in the issue here but it is 
sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   ## Are these changes tested?
   Yes
   
   ## Are there any user-facing changes?
   No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to