3 ms·
There's an existing lint that lets you prohibit instances of specific types from being held across await points: https://rust-lang.github.io/rust-clippy/stable/
by ameliaquining 1y ago
There's an existing lint that lets you prohibit instances of specific types from being held across await points: https://rust-lang.github.io/rust-clippy/stable/index.html#await_holding_invalid_type https://rust-lang.github.io/rust-clippy/stable/index.html#aw...