alamb opened a new pull request, #3484:
URL: https://github.com/apache/arrow-datafusion/pull/3484

   # Which issue does this PR close?
   N/A
   
   
    # Rationale for this change
   @iajoiner  added `downcast_any!` in #3347 which is awesome 👏 . @andygrove 
suggested I use `downcast_any!` in 
https://github.com/apache/arrow-datafusion/pull/3454#discussion_r970072753 
which was also a great idea. 
   
   I noticed I had to add a `use` statement however:
   
   ```rust
   use std::any::type_name;
   ```
   
   I figured it would clean up the code and future uses of `downcast_any!` if 
users didn't have to manually add a `use` as well
   
   # What changes are included in this PR?
   1. add `use std::any::type_name;` to the macro definition
   2. remove now redundant `use std::any::type_name;` around the codebase 
   
   # 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]

Reply via email to