bdadb58c52
Fixing clippy error: ``` error: for loop over `dataevs.as_array()`, which is an `Option`. This is more readably written as an `if let` statement. --> fractal-matrix-api/src/util.rs:221:19 | 221 | for ev in dataevs.as_array() { | ^^^^^^^^^^^^^^^^^^ | = note: #[deny(clippy::for_loop_over_option)] on by default = help: consider replacing `for ev in dataevs.as_array()` with `if let Some(ev) = dataevs.as_array()` = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/master/index.html#for_loop_over_option ``` Related: #370 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |