2010YOUY01 opened a new issue, #16021:
URL: https://github.com/apache/datafusion/issues/16021

   ### Is your feature request related to a problem or challenge?
   
   https://github.com/apache/datafusion/pull/15999 changed the string format 
style as follows to improve readability:
   ```rust
   // Before
   .ok_or_else(|| format!("Invalid {} '{}'", label, size))?;
   
   // After
   .ok_or_else(|| format!("Invalid {label} '{size}'"))?;
   ```
   
   As a follow-up task, it would be great to add a linter rule to enforce such 
style.
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to