Open sophiajt opened 3 years ago
Another example of the same issue:
let rows: Vec<Value> = ret_str
.lines()
.map(|v| v.to_str_value_create_tag())
.collect();
Ok((rows.into_iter().map(ReturnSuccess::value)).to_action_stream())
I tried this code:
Clippy suggests turning this into:
I expected to see this happen: clippy to suggest a correct replacement
Instead, this happened: clippy suggests the above, which will not compile as
concat_string.item
will not live long enough.Meta
cargo clippy -V
: e.g. clippy 0.0.212 (f455e46 2020-06-20)rustc -Vv
:Backtrace
```
```