Azure / azure-sdk-for-rust

This repository is for active development of the *unofficial* Azure SDK for Rust. This repository is *not* supported by the Azure SDK team.
MIT License
685 stars 232 forks source link

address unused_async lint #1559

Closed demoray closed 6 months ago

demoray commented 6 months ago

Async functions with no async code create overhead, both mentally and computationally. Callers of async methods either need to be calling from an async function themselves or run it on an executor, both of which causes runtime overhead and hassle for the caller.

https://rust-lang.github.io/rust-clippy/master/index.html#/unused_async