Hemera :ms_snow_leopard: on Nostr: I really don't get why "Remove async from function that doesn't use await" needs to ...
I really don't get why "Remove async from function that doesn't use await" needs to be an action from rust-analyzer...
The PR/Issue that implements it don't give a motivation, just a 'It's not needed' which is just... false? I most often run into this when using libraries that expect I pass them a future, and sometimes that future is very simple. And yet, the most prominent code action I get is "Remove unnecessary async" 👏
The PR/Issue that implements it don't give a motivation, just a 'It's not needed' which is just... false? I most often run into this when using libraries that expect I pass them a future, and sometimes that future is very simple. And yet, the most prominent code action I get is "Remove unnecessary async" 👏