fractal/fractal-matrix-api
Zeeshan Ali bdadb58c52 fractal-matrix-api: Don't loop for unwrapping Option
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
2018-12-23 10:50:09 +00:00
..
src fractal-matrix-api: Don't loop for unwrapping Option 2018-12-23 10:50:09 +00:00
Cargo.toml Release 4.0.0 2018-12-22 11:19:34 +01:00