You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
euclio, blaenk, killercup, ufoscout, jeffparsons and 20 more