Open
Description
With async/await
coming up, we will probably see an uptake of such code:
async hello() {
println!("hello").
}
Users will most likely not be aware that the call to println
are blocking. The same goes to any use of the stdlib io apis, most famously to_socket_addr()
calls.
I think there is a chance for clippy to at least find obvious cases of this, for a list of known functions.