alamb opened a new issue #467:
URL: https://github.com/apache/arrow-rs/issues/467


   **Describe the bug**
   Rust 1.53 was released with improved (aka more stringent) clippy resulting 
in some new clippy CI failures:
   
   Example run:
   https://github.com/apache/arrow-rs/runs/2864727407
   
   ```
   
       Checking tracing-futures v0.2.5
       Checking futures-executor v0.3.15
       Checking arrow v5.0.0-SNAPSHOT (/__w/arrow-rs/arrow-rs/arrow)
   error: usage of `FromIterator::from_iter`
      --> arrow/src/array/array_boolean.rs:150:9
       |
   150 |         BooleanArray::from_iter(data.iter())
       |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `.collect()` 
instead of `::from_iter()`: `data.iter().collect::<BooleanArray<_>>()`
       |
       = note: `-D clippy::from-iter-instead-of-collect` implied by `-D 
warnings`
       = help: for further information visit 
https://rust-lang.github.io/rust-clippy/master/index.html#from_iter_instead_of_collect
   
   ```
   
   


-- 
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.

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


Reply via email to