01068ad752
This fixes some errors from clippy about needless length comparison to 0: ``` error: length comparison to zero --> fractal-matrix-api/src/util.rs:483:27 | 483 | if array.is_none() || array.unwrap().len() == 0 { | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `array.unwrap().is_empty()` | = note: `-D clippy::len-zero` implied by `-D warnings` = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/master/index.html#len_zero ``` Related: #370 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |