alamb commented on pull request #357:
URL: https://github.com/apache/arrow-datafusion/pull/357#issuecomment-844115752


   @agatan  can you please fix the clippy error: 
https://github.com/apache/arrow-datafusion/pull/357/checks?check_run_id=2620378740
   
   ```
   
   To learn more, run the command again with --verbose.
   warning: build failed, waiting for other jobs to finish...
   error: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is 
equivalent
      --> datafusion/src/sql/planner.rs:860:20
       |
   860 |                 if id.value.chars().nth(0) == Some('@') {
       |                    ^^^^^^^^^^^^^^^^^^^^^^^ help: try calling `.next()` 
instead of `.nth(0)`: `id.value.chars().next()`
       |
       = note: `-D clippy::iter-nth-zero` implied by `-D warnings`
       = help: for further information visit 
https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero
   ```


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