4d34eed4ab
Fixing clippy error: ``` error: redundant closure found --> fractal-matrix-api/src/util.rs:219:60 | 219 | r.prev_batch = timeline["prev_batch"].as_str().map(|s| String::from(s)); | ^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `String::from` | = note: `-D clippy::redundant-closure` implied by `-D warnings` = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_closure ``` Related: #370 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |