Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clippy warning about loop that never executes (#133)
When the `flightsql` feature is enabled clippy is failing with this warning ``` error: this loop never actually loops --> src/app/handlers/flightsql.rs:89:45 | 89 | / ... while let Some(maybe_batch) = stream.next().await { 90 | | ... match maybe_batch { 91 | | ... Ok(batch) => { 92 | | ... info!("Batch rows: {}", batch.num_rows()); ... | 103 | | ... } 104 | | ... } | |_______________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop = note: `#[deny(clippy::never_loop)]` on by default ``` This code fixes it
- Loading branch information