dtolnay / async-trait

Type erasure for async trait methods
Apache License 2.0
1.81k stars 84 forks source link

`clippy::shadow_same` is triggered due to duplicated variable names #183

Closed c410-f3r closed 2 years ago

c410-f3r commented 2 years ago
#![deny(clippy::shadow_same)]

#[async_trait::async_trait]
trait Foo {
    async fn foo(_n: i32) {}
}