Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clippy: accounts-db lints (solana-labs#34628)
``` warning: this `let...else` may be rewritten with the `?` operator --> accounts-db/src/rolling_bit_field/iterators.rs:36:13 | 36 | / let Some(bit) = self.bit_range.next() else { 37 | | return None; 38 | | }; | |______________^ help: replace it with: `let bit = self.bit_range.next()?;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark = note: `#[warn(clippy::question_mark)]` on by default Checking solana-rpc-client-api v1.18.0 (/Users/brooks/src/solana/rpc-client-api) warning: `solana-accounts-db` (lib) generated 1 warning ```
- Loading branch information